I have never been used to taking notes; maybe people are too lazy...
I recently read "C expert programming". I have never read any books about C in the past. Some of them only occasionally make some simpleAlgorithmQuestion useC Language;
However, at that timeProgramIt is difficult to modify errors. The reason is that there is no good understanding of the C language and
Deep Learning.
After reading "C expert programming" and "c traps and defects" through high finger points and promotion...
Well, it's practical to take notes.
1. Static: In a function, the value of the variable remains continuous among calls. at the same level as the function, the function is only visible in the current document;
2. WriteCodeTo make the program readable and to simplify the memory of various operator priorities, brackets should be used in expressions to avoid confusion;
3. The break keyword can only interrupt the latest for loop or while loop;
4. "." The calculation priority of the number is higher than "*";
5. sizeof is an operator. The command int c = sizeof 12 is correct, but parentheses are required when the sizeof operation object is a type variable name;
6. [] the priority of a good operator is higher *;
7. The function () has a priority higher *;
Okay, I 've seen so much today. Continue tomorrow ......