GATE 2021 CS SET2 Q10. Consider the following ANSI C program. What is the output? [SOLVED!]

Описание к видео GATE 2021 CS SET2 Q10. Consider the following ANSI C program. What is the output? [SOLVED!]

GATE 2021 CS Question Paper Complete Solution - PYQ 2021

Q 10. Consider the following ANSI C program.
#include stdio.h
int main( )
{
int arr[4][5];
int i, j;
for (i=0; i4; i++)
​​​​​​{
for (j=0; j5; j++)
{
arr[i][j] = 10 * i + j;
}
}
printf("%d", *(arr[1]+9));
return 0;
}
What is the output of the above program?

---------------------------------------------------------------------------
GATE 2021 All links:https://gate.iitb.ac.in/G21/index.php

GATE 2021: Questions & Keys: https://gate.iitb.ac.in/G21/21_Final_...

CS Set 1:
QP: https://drive.google.com/file/d/1l0Wd...
Key: https://drive.google.com/file/d/1Yue4...

CS Set2:
QP: https://drive.google.com/file/d/1msqM...
Key: https://drive.google.com/file/d/19-3n...
------------------------------------------------------------------------
Gate Helpline helps you in gate notifications, PSU, previous year papers, gate admit card, gate cutoff marks, gate results, scorecard, gate helpline number etc Gate Helpline provides a unique feature of Question Answer Discussion.
--------------------------------------------------------------------------
Follow Us on Youtube Channel:
https://www.youtube.com/c/Gatehelplin...

Gate Helpline:
http://gatehelpline.com/

Follow Us on Facebook:
  / gatehelplinedotcom  

Follow Us on Twitter:
  / gatehelpline  

Комментарии

Информация по комментариям в разработке