C-Programming-data-structure || 2021 SET 2 || MCQ || 1-mark

Last Updated :
Discuss
Comments

Consider the following ANSI C program.  

C
#include <stdio.h>
int main() {
    int arr[4][5];
    int i, j;
    for (i = 0; i < 4; i++) {
        for (j = 0; j < 5; j++) {
            arr[i][j] = 10 * i + j;
        }
    }
    printf("%d", *(arr[1] + 9));
    return 0;
}


What is the output of the above program? GATE CSE || 2021 SET2 || 1 MARK



14

24

30

20

Share your thoughts in the comments
Article Tags :