mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-06 06:48:32 +00:00
Add more notes to null character in C
This commit is contained in:
parent
41f65bb341
commit
394ca958b3
@ -27,7 +27,8 @@ Multi-line comments look like this. They work in C89 as well.
|
|||||||
'\f' // new page
|
'\f' // new page
|
||||||
'\r' // carriage return
|
'\r' // carriage return
|
||||||
'\b' // backspace character
|
'\b' // backspace character
|
||||||
'\0' // null character
|
'\0' // null character. Usually put at end of strings in C lang.
|
||||||
|
// hello\n\0. \0 used by convention to mark end of string.
|
||||||
|
|
||||||
//print formatting:
|
//print formatting:
|
||||||
"%d" // integer
|
"%d" // integer
|
||||||
|
Loading…
Reference in New Issue
Block a user