Question: What is the output of this program? #include void test(int *, int *); int main() { int a = 5, b=6; test(&a,&b); printf(%d %d,a,b);

What is the output of this program? #include void test(int *, int 

What is the output of this program? #include void test(int *, int *); int main() { int a = 5, b=6; test(&a,&b); printf("%d %d",a,b); return 0; } void test(int *p, int *q) { *p = *p**q; *q= *p+*q; *p=p/q; }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Now lets analyze the code In the main function two integer variables a and b are declared ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!