Question: Given this code, what is the expected output of the print statement? int x 5042; 3230; int y int z 1223; = 1 =
Given this code, what is the expected output of the print statement? int x 5042; 3230; int y int z 1223; = 1 = int* ptr &y; int* ptr2 = &X; int* ptr3 = &Z; printf("%d %d", *ptr, ptr2);
Step by Step Solution
3.41 Rating (167 Votes )
There are 3 Steps involved in it
1 Three integer variables are declared x with the value 50... View full answer
Get step-by-step solutions from verified subject matter experts
