Q. Which of the following characters returns the cursor to the left of the screen?
β
Correct Answer: (C)
\r
Explanation: \r character is used to move the cursor or print head to the beginning of the current line. Example:
#include <stdio.h>
int main()
{
printf("Hello,\r World!");
return 0;
}