GATEverse Practice, past papers & mock tests
GATE 2021 · Set-2
Programming & Data StructuresProgrammingmediumMCQ1 mark
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?
Save your progress

Related Programming & Data Structures PYQs