C comments & escape sequences

72 Views
Published
C comments escape sequences tutorial example explained

#C #comments #escape

// This is a comment
/*
This
is
a
multiline
comment
*/
/* escape sequence = character combination consisting of a backslash \
followed by a letter or combination of digits.
They specify actions within a line of text (string)
\n = newline
\t = tab
\\ = display \
\' = display '
\" = display "
*/

printf("1\t2\t3\n4\t5\t6\n7\t8\t9\n");
printf("\"I like Pizza\" -Abraham Lincoln probably");

return 0;
Category
Bro Code
Tags
c comments, c escape sequences, comments c
Be the first to comment