C language MCQ’s | miscellaneous 3

21.
Representation of data structure in memory is known as
A. Recursive
B. Abstract data type
C. Storage structure
D. File structure

22.
Which of the following search algorithm requires a sorted array?
A. Linear search
B. Hash search
C. Binary search
D. All of these

23.
The largest element of an array index is called its
A. Lower bound
B. Upper bound
C. Range
D. All of the above

24.
Which of the following is a Compound assignment operators?
A. +=
B. *=
C. /=
D. All the above

25.
What will be the output of 5.0 / 2?
A. 2
B. 3
C. 0
D. 2.5

26.
What is %f, %d, %s and %c?
A. Number Specifier
B. Format Specifier
C. Access Specifier
D. None of the above

27.
Which of the following is correct set of keywords?
A. unsigned, external, typedef, signed
B. unsigned, volatile, typedef, every
C. unsigned, volatile, typedef, sizeof
D. None of the above

28.
The keywords are also called
A. Safe words
B. Static words
C. Reserved words
D. Reused words

29.
Every C Program must have one function called?
A. switch()
B. main()
C. struct()
D. for()

30.
Which is the correct syntax to declare constant pointer?
A. int *const constPtr;
B. *int constant constPtr;
C. const int *constPtr;
D. A and C both

Visitor Counter

0051026