Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged programming-in-c
3
3 votes
1
1 answer
252
252 views
GO Classes | IIITH PGEE 2026 Mock Test 12 | Question: 62
Assume the following $C$ code is inside the main function and there are no syntax or runtime errors:int A[] = {3, 1, 4, 9, 7, 2, 5, 8}; int *p = &(A[3]) - 2; p += *p; pri...
GO Classes
252
views
asked
Mar 20, 2025
Programming in C
goclasses2026-iiith-mock-12
goclasses
one-mark
array-of-pointers
programming-in-c
+
–
1
1 vote
1
1 answer
207
207 views
GO Classes | IIITH PGEE 2026 Mock Test 12 | Question: 63
Consider the following C code. Where x and y are unknown integers and have been initialized to values greater than 1.int i = 1, j = 0; while (i < y) { i = i + 1; if (i ==...
GO Classes
207
views
asked
Mar 20, 2025
Programming in C
goclasses2026-iiith-mock-12
goclasses
one-mark
programming-in-c
+
–
0
0 votes
1
1 answer
190
190 views
GO Classes | IIITH PGEE 2026 Mock Test 12 | Question: 64
Consider the following C code:int i = 0; int j = 0; char *s = "abcde"; while (s[i] != '\0') { j = j + s[i] - 'a'; i = i + 1; } printf("%d %d\n", i, j); What will the prog...
GO Classes
190
views
asked
Mar 20, 2025
Programming in C
goclasses2026-iiith-mock-12
goclasses
one-mark
programming-in-c
+
–
2
2 votes
1
1 answer
240
240 views
GO Classes | IIITH PGEE 2026 Mock Test 12 | Question: 65
What would be displayed if the following code fragment was executed?int n = 4; int s = -n; while (n 1) { n = n - s; s = s + n; s++; n ; } printf("%d", s);5812None of the...
GO Classes
240
views
asked
Mar 20, 2025
Programming in C
goclasses2026-iiith-mock-12
goclasses
one-mark
programming-in-c
+
–
2
2 votes
1
1 answer
467
467 views
GO Classes | IIITH PGEE 2026 Mock Test 12 | Question: 88
The default storage class for global variables in the C language is –StaticAutoExternNone of these
GO Classes
467
views
asked
Mar 20, 2025
Programming in C
goclasses2026-iiith-mock-12
goclasses
one-mark
programming-in-c
+
–
2
2 votes
1
1 answer
195
195 views
GO Classes | IIITH PGEE 2026 Mock Test 12 | Question: 66
What should be the output of the following C program?#include <stdio.h int main(void) { int my_array[] = {1, 5, 10, 15}; int *an_array[] = {&my_array , &my_array[0]}; int...
GO Classes
195
views
asked
Mar 20, 2025
Programming in C
goclasses2026-iiith-mock-12
goclasses
one-mark
programming-in-c
+
–
Page:
« prev
1
...
8
9
10
11
12
13
14
15
16
17
18
...
86
next »