Which of the following statements is correct about the below progra

Loading

โœช Choose the correct option.

Which of the following statements is correct about the below program?

#include   
int main() {
int a[3][3] = {1,2,3, 4,5,6, 7,8,9};
printf("%d ",*(*(a + 2)));
return 0;
}

A. Output: Garbage value
B. No error, Output: 7
C. Output: 3
D. Error: Invalid indirection

Leave a Comment