C Programming - Strings - Discussion

Discussion Forum : Strings - General Questions (Q.No. 3)
3.
How will you print \n on the screen?
printf("\n");
echo "\\n";
printf('\n');
printf("\\n");
Answer: Option
Explanation:

The statement printf("\\n"); prints '\n' on the screen.

Discussion:
23 comments Page 3 of 3.

Datta said:   10 years ago
Please explain me that?

Komal more said:   7 years ago
Why there is "\\" used?

Saroj kumari said:   8 years ago
Really, good concept.


Post your comments here:

Your comments will be displayed after verification.