R

Ram Sharma • 193.86K Points
Coach

Q. What is printed when the sample code is executed?

Code:
int y[4] = {6, 7, 8, 9};
int *ptr = y + 2; printf(“%dn”, ptr[ 1 ] );
  • (A) 6
  • (B) 7
  • (C) 8
  • (D) 9

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics