c
GATE CS 2025 (Forenoon) — Question 34
Programming in CPointers, Multi-Dimensional Arrays, StructuresNAT1 markEasy
The output of the given C program is ________. (Answer in integer)
A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.
More on Pointers, Multi-Dimensional Arrays, Structures
- GATE CS 2026 (Afternoon) · Q60Consider the following ANSI-C program. c include <stdio.h> int main( ) int ptr, a, b, c; a=5; b=11; c=20; ptr=&a; ptr=c; ptr=&c; a= (&b); c…
- GATE CS 2025 (Afternoon) · Q19Consider the following C program: c include <stdio.h> void stringcopy(char , char ); int main( ) char a[30] = "@ Hello World!"; stringcopy(…
- GATE CS 2025 (Afternoon) · Q62Consider the following C program: c include <stdio.h> int main( ) int a; int arr[5] = 30, 50, 10 ; int ptr; ptr = &arr[0] + 1; a = ptr; ( p…
- GATE CS 2024 (Afternoon) · Q33Consider the following C function definition: c int fx(char a) char b = a; while ( b) b++; return b - a; Which of the following statements…
- GATE CS 2024 (Afternoon) · Q36What is the output of the following C program? c include <stdio.h> int main() double a[2]= 20.0,25.0 , p, q; p = a; q = p + 1; printf ("%d,…
- GATE CS 2022 (Forenoon) · Q21What is printed by the following ANSI C program? c include<stdio.h> int main(int argc, char argv[ ]) int x = 1, z[2] = 10, 11 ; int p = NUL…

