c
GATE CS 2025 (Afternoon) — Question 33
Programming in CData Types, Syntax, Control Structures, LoopsNAT1 markMedium
The output of the given C code segment 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 Data Types, Syntax, Control Structures, Loops
- GATE CS 2025 (Forenoon) · Q63Consider the following C program: c include <stdio.h> int gate (int n) int d, t, newnum, turn; newnum = turn = 0; t = 1; while (n >= t) t =…
- GATE CS 2024 (Forenoon) · Q18Consider the following C program: c include <stdio.h> int main( ) int a = 6; int b = 0; while (a < 10) a = a/12 + 1; a += b; printf("%d", a…
- GATE CS 2024 (Forenoon) · Q33Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below. The value of the ex…
- GATE CS 2024 (Afternoon) · Q42Consider an array X that contains n positive integers. A subarray of X is defined to be a sequence of array locations with consecutive indi…
- GATE CS 2022 (Forenoon) · Q44What is printed by the following ANSI C program? c include <stdio.h> int main(int argc, char argv[ ]) char a = 'P'; char b = 'x'; char c =…
- GATE CS 2021 (Forenoon) · Q47Consider the following ANSI C program: c include <stdio.h> int main( ) int i, j, count; count = 0; i = 0; for (j = -3; j <= 3; j++) if ((j…

