C Programming :: Basic Concepts

Home > C Programming > Basic Concepts > Discussion

4. What is the output of the following C Program?

#include
int main()
{
printf("\nab");
printf("\bsi");
printf("\rha");
return 0;
}

Answer: Option B

Explanation :

\n - newline

\b - backspace

\r - linefeed

Post Your Answer Here:     

Reply     |    Rate This: +0 -0      |     Report     |     To Reading List



Report Error

Please Login First Click Here