C language MCQ’s | miscellaneous 3

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

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

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

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

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

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

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

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

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

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