You have to use an escape sequence.
The escape sequence is a backslash (\). The \ tells the compiler that the character behind the backslash is a code for something else.
So \" says that the " is not part of the syntax but is data:
- printf("\"Hello world!\""\n);
See also the \n. The compiler does not see this as a \ and an n but a code. In this case \n is the code for a newline on the screen.
There are various escape sequence characters that you should review.