C Language MCQ’S | Control Instructions 10

46.
If scanf() is used to store a value in a char variable then along with the value a carriage return(\r) also gets stored it.

A. True
B. False

 

47.
The modulus operator cannot be used with a long double.

A. True
B. False

 

48.
A char variable can store either an ASCII character or a Unicode character.

A. True
B. False

 

49.
The way the break is used to take control out of switch and continue to take control of the beginning of the switch?

A. Yes
B. No

 

50.
Can we use a switch statement to switch on strings?

A. Yes
B. No

 

Visitor Counter

0051037