Question: Consider the following program and select all correct statements among the following. ant main ( ) 1 uint 8 , t * * p t

Consider the following program and select all correct statements among the following.
ant main()
1
uint 8,t**ptr;
uint 8tx=0 i
ptr=-8x;
printf ("8u4,*ptr) ;
printf ("8u", sptr);
printe((:?488un,x} :
xesturn 0 ;
(a) Line 7 prints the address of x.
(g) Line 8 prints the address of ptr.
(b) Line 7 prints the value of x.
(h) Line 8 prints the value of ptr.
(c) Line 7 prints the address of ptr.
(i) Line 9 prints the address of x.
(d) Line 7 prints the value of ptr.
(j) Line 9 prints the value of x.
(e) Line 8 prints the address of x.
(k) Line 9 prints the address of ptr.
(f) Line 8 prints the value of x.
(1) Line 9 prints the value of ptr.
 Consider the following program and select all correct statements among the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!