Sail E0 Webinar
Question

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.


Options:
A .  True
B .  False
Answer: Option B

No, the carriage return tells the compiler to read the input from the buffer after 

ENTER key is pressed.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers