21. |
What is the output?
int main()
|
||||||||
Answer:
Option (c) |
22. |
Choose a C Conditional Operator from the list.
|
||||||||
Answer:
Option (a) |
23. |
What is alternate name of conditional operator?
|
||||||||
Answer:
Option (d) |
24. |
Choose a syntax for C Ternary Operator from the list.
|
||||||||
Answer:
Option (a) |
25. |
What is the output?
void main()
|
||||||||
Answer:
Option (b) |
26. |
The C code ‘for( ; ; )’ represents an infinite loop. It can be terminated by ___
|
||||||||
Answer:
Option (a) |
27. |
Which for loop has range of similar indexes of ‘i’ used in for (i = 0;i < n; i++)?
|
||||||||
Answer:
Option (d) |
28. |
What is the output?
void main()
|
||||||||
Answer:
Option (a) |
29. |
What is the output?
void main()
|
||||||||
Answer:
Option (d) |
30. |
In the given loop construct, which one is executed only once always? for(exp1; exp2; exp3)
|
||||||||
Answer:
Option (a) |