0
What will be the output of the following code?
#include <stdio.h>
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int (*p)[5] = &arr;
printf("%d\n", *(*p + 3));
return 0;
}- A40
- B30
- C20
- DCompilation Error
Correct answer: A
#include <stdio.h>
int main() {
int arr[5] = {10, 20, 30, 40, 50};
int (*p)[5] = &arr;
printf("%d\n", *(*p + 3));
return 0;
}