Which of the following function is used to get single character from keyboard?
a) get()
b) puts()
c) getch()
d) getchar ()
Which of the following escape sequence is used to return cursor in beginning in C++ program?
a) \r
b) \t
c) \v
d) \\
Which of the following escape sequence is used for horizontal tab in C++ program?
a) \r
b) \t
c) \v
d) \\
Which of the following escape sequence is used for vertical tab in C++ program?
a) \r
b) \t
c) \v
d) \\
Which of the following escape sequence is used to print question mark in C++ program?
a) \?
b) \t
c) \v
d) \\
Which of the following escape sequence is used to print double quote in C++ program?
a) \r
b) \”
c) \v
d) \\