let there be a function
Kindly refer to the line numbers in bold and suggest the better code in that corresponding line number
Code:
#include <stdio.h>
int add(int x, int y) or int add(x,y)
main()
{
int x,y,sum;
sum=add(x,y);
}
[B]add(x,Y) or add(int x, int y)
[/B]{
int a;
a= x+ y;
return a;
}
Comment