# C Multiple Choice Questions

1. Which of the following is a valid Integer Constant?
1. 35,75
2. 3 455
3. +3333
4. *56
C
Explanation:

1. Select best option to consturct Real Constant
1. An real constant must have at least one digit that can be either positive or negative
2. Must have a decimal point
3. No comma or blank allowed within real constant
4. All of the above
D
Explanation:

1. Which of the following is NOT a valid Real Constant?
1. +345.23
2. 45 22.22
3. 0.000564
4. -3.2
B
Explanation:

1. Select valid option for 8.3e20 exponential real constant.
1. 8.3 is exponential and 20 is mantissa
2. 8.3 is mantissa and 20 is exponential
3. 8.3 and 20 are mantissa
4. 8.3 and 20 are exponential
B
Explanation:

1. Select best option to consturct Character Constant
1. A Character constant is a single alphabet, a single digit or a single special symbol
2. Must be enclosed within single inverted commas.
3. Both option (A) and (B)
4. None of the above
C
Explanation:

1. Which of the following is NOT a valid Character Constant?
1. ’P’
2. ’2’
3. ’PQ’
4. ’#’
C
Explanation:

1. The best data structure to check whether an arithmetic expression has balanced parenthesis is a
1. Queue
2. Stack
3. Tree
4. List
B
Explanation:

1. Which of the following data structures is useful in traversing a given graph by Depth first search(DFS)?
1. Stack
2. Queue
3. List
4. None of the above