Q. Let x is an integer array with three elements having value 10, 20, and 30. What will be the output of the following statement?
Code:
printf("%u",x);
β
Correct Answer: (D)
Print the address of the array (i.e., the address of first (0th) element
Explanation: If we print the array (in this case, x). The output will be the memory address of the array (i.e., the address of first (0th) element.