Learning Focus:
- Code comments
- Escape character
Learning content:
1. Annotations can make complex programs easy to read, and have no effect on the function and running results of the program, and can be used to test the code
2. Comments in the C language can be block-annotated with/* and/*, and everything between/* and/* is treated as a comment, the two tags may not be on the same line, so the note can contain more than one line at a time, or you can use//make a single line comment,//Only comment on what it is in, and (may also apply in other languages)
3. Escape character: The C language also allows a special form to represent a character constant, which is a sequence of characters beginning with \, and \ means escaping, which transforms the meaning of a character following it. Common escape characters are as follows: ' \ n ' denotes a carriage return, ' \ ' means a single quotation mark, ' \ ' means a double quote, ' \ t ' means a tab, ' \ \ ' means a backslash, ' \ \ ' denotes a null character, not a space.
Comments and escape characters for 03-c languages