+ 1
printf("Hello, World!\n");. why we put( !\n)
8 Antworten
+ 5
! Will be printed and \n is for newline
+ 4
The '\n' is an escape character used to insert line break. This means whatever comes after '\n' will be printed on the next line.
I think the lesson covered this somewhere, see if you can find it 👍
(Edited)
+ 3
Yasser Mhj "!" Will be printed as it is
+ 3
The exclamation mark is just an ordinary character which will be printed. \n is a line break. Everything after \n will be printed in a new line
+ 1
and the !
+ 1
Create new line
0
thanks
0
!!!