Computer Science, asked by thannuthufu, 9 months ago

#include
#define ADD_FN(X,Y) X+Y
int fn_A(int x, int y)
{
return (x+y);
}
int fn_A(int x, int y)
{
return (x-y);
}
int fn(int x, int y)
{
return (x/y);
}
void main(){
int x, y, w, z;
x=20;
y=30;
z = fn(x,y);
w =ADD_FN(x,y)*ADD_FN(z, x);
printf(“X=%d,Y=%d, Z=%d,W=%d”, x, y, z, w);
}

Answers

Answered by rakeshchiudhary97709
0

Answer:

include

#define ADD_FN(X,Y) X+Y

int fn_A(int x, int y)

{

return (x+y);

}

int fn_A(int x, int y)

{

return (x-y);

}

int fn(int x, int y)

{

return (x/y);

}

void main(){

int x, y, w, z;

x=20;

y=30;

z = fn(x,y);

w =ADD_FN(x,y)*ADD_FN(z, x);

printf(“X=%d,Y=%d, Z=%d,W=%d”, x, y, z, w);

Similar questions