Question 16230 – UGC NET Dec-2020 and June-2021 Paper-2
December 25, 2023
Question 12404 – TIFR PHD CS & SS 2014
December 25, 2023
Question 16230 – UGC NET Dec-2020 and June-2021 Paper-2
December 25, 2023
Question 12404 – TIFR PHD CS & SS 2014
December 25, 2023

Question 14292 – Programming

Consider the following ANSI C program

#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?

Correct Answer: C

Question 2 Explanation: 
arr[4][5]
A
14
B
30
C
24
D
20
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!