Monday, October 20, 2025

Backslash Character (Only Output)

 Backslash Character  (Only Output)


C supports some special backslash character constants that are  used in output function.


"\a"     Alert or bell

"\b"     Back space      

"\f"     Form Feed

"\n"     New line

"\r"     Return

"\t"     Tab

"\v"     Vertical tab

"\\"     Print \ (back slash)

"\?"     Print ?

"\'"     Print ' (Single Quote)

"\""     Print " (Double Quote)

"\0"     Null

"%%"    Print %


No comments:

Post a Comment