so you mean:
main()
{
int a,b,c;
a=5;
b=8;
c=add(a,b)
printf(c);
}
int add(int y, int x)
{
int z=y+x;
return z;
}
here if c has been defined as int ,but the called function add(int,int) has defined as returning float,then you call there are two different types of data ? |