Question: b) Draw trace tables for the following programs and find the output. void test(int *, int *, int); /* func prototype*/ intx=5, y=3, z=7; printf(%d+%d+%d
b) Draw trace tables for the following programs and find the output. void test(int *, int *, int); /* func prototype*/ intx=5, y=3, z=7; printf("%d+%d+%d = %d ", 1, y, z, atytz); test(&x,&y.z); printf(" %d + %d + %d = %d ", 1, y, z, atxtz); void test (int *px, int *py, int pz) { *px += 10; *py += *px; PZ *px - 1; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
