The number of tokens in the following C code segment is switch (inputvalue) {…
2025
The number of tokens in the following C code segment is
switch (inputvalue)
{
case 1 : b = c * d ; break ;
default : b = b++ ; break ;
}
Answer: C. 26
- A.
27
- B.
29
- C.
26
- D.
24
Attempted by 139 students.
Show answer & explanation
Correct answer: C
Explore the full course: Mppsc Assistant Professor Computer Science Paper 2
Loading lesson…