Control Instructions - Programming

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.