printf("%d",*(*(a+**a+2)+3)) | printf("%u,%u,%u",x+3,*(x+3),*(x+2)+3) | 2D ARRAY PYQS GATE 2015,2020

Опубликовано: 16 Март 2026
на канале: Jatin Gupta
6,896
128

Please It's a Request | DO NOT MISS THIS -    • Please It's a Request  | DO  NOT  MISS  TH...  

GATE CSE 2D ARRAY PYQs
GATE 2020 Consider the following C program.
int main () {
int a[4][5] = {{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10}, {11, 12, 13, 14, 15}, {16, 17, 18, 19, 20}};
printf("%d\n", *(*(a+**a+2)+3)); return(0); } The output of the program is _______ .

GATE | GATE-CS-2015
What is the output of the following C code? Assume that the address of x is 2000 (in decimal) and an integer requires four bytes of memory.

int main() { unsigned int x[4][3] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}, {10, 11, 12}};
printf("%u, %u, %u", x+3, *(x+3), *(x+2)+3);}
(A) 2036, 2036, 2036 (B) 2012, 4, 2204 (C) 2036, 10, 10 (D) 2012, 4, 6

For any queries feel free to comment or direct message on Instagram
Instagram -   / jatingupta5jan  

Playlist link -
C programming -    • C PROGRAMMING |GATE CS/IT  PYQ | PREVIOUS ...  

Time Complexity -    • GATE CS/IT PYQ TIME COMPLEXITY | ALGORITHM...  

Data structure -    • GATE CS/IT (PYQ) | DATA STRUCTURES  | NET ...  

Algorithms -    • GATE CS/IT (PYQ) ALGORITHMS | TIME COMPLEX...  

Binary tree -    • GATE CS/IT CSE PYQ| BINARY TREE | DATA STR...  

Linked List -    • GATE CS/IT CSE PYQ | LINKED LIST | DATA ST...  

@00:00 GATE 2015 Question
@14:13 GATE 2020 Question
@21:00 Practice Question

#jatin_gupta_gate