Question: What is the output of this program? { #include int f1 (int x, int *y) *x=*x+2; *y=y+3; return *x+*y; } int f2(int &y, int
What is the output of this program? { #include int f1 (int x, int *y) *x=*x+2; *y="y+3; return *x+*y; } int f2(int &y, int *z) { y=*z+3; z=&y; *z=y*2; return "z; } int main() int k=3,m=5,r1=0; r1=f1(&k,&m) +12(k,&r1); printf("%d",r1); return 0;
Step by Step Solution
There are 3 Steps involved in it
There are several issues in the provided C code including syntax errors and logical mis... View full answer
Get step-by-step solutions from verified subject matter experts
