C Program | C Programming using escape sequence
-->\n goes to new line
-->\t creates a horizontal tab
EXAMPLE FOR HORIZONTAL TAB
#include <stdio.h>
int main() {
printf("Hello World!\t");
printf("I am learning C.");
return 0;
}
OUTPUT:
Hello World! I am learning C.
\\ Inserts a backslash character (\)
\" Inserts a double quote character (")
No comments:
Post a Comment