Q6
Determine the Final Output: void main() printf(" "); printf(" "); printf(" ");
A.
absiha
B.
asiha
C.
haasi
D.
hai
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
\n - newline - printf("\nab"); - Prints ab
\b - backspace - printf("\bsi"); - firstly '\b' removes 'b' from 'ab ' and then prints 'si'. So after execution of printf