CUET-PG SERIES
Programming-and-data-structure

Programming In C

2 previous year questions.

Volume: 2 Ques
Yield: Medium

High-Yield Trend

2
2023

Chapter Questions
2 MCQs

01
PYQ 2023
medium
programming-and-data-structure ID: cuet-pg-
What will be the output of the following program assuming that the array begins at location 1002?
#include
void main()
{int a[2] [3] [4] ={ {1,2,3,4,5,6,7,8,9,1,1,2,}, {2,1,4,7,6,7,8,9,0,0,0,0}};
printf("/n%u%u%u %d", a, *a, **a, ***a);
1
1002 1002 1004 1
2
1002 1004 1006 1
3
1002 1004 1004 1
4
1002 1002 1002 1.
02
PYQ 2023
medium
programming-and-data-structure ID: cuet-pg-
Match List I with List II
List I List II
Aprintf("%d", size of (3.14));I5
BUnion A (intx, float y,} printf("%d", size of (A));II4
C Invalid ostruct B {char x; double y;}; C. 2 printf("%d", size of (B));pcode III2
Dprintf("%d", size of ('1'));IV8
1
A-1, B-II,C-III, D-IV
2
A-IV, B-I,C-II, D-III
3
A-IV, B-II,C-I, D-III
4
A-IV, B-I,C-III, D-II