Control Instructions

Q1:
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

ANS:B - False

No, the carriage return tells the compiler to read the input from the buffer after ENTER key is pressed.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.