Advanced C language 2

operator
Logical Operators: &&||!
Bitwise operator: &|~ ^
Ternary operator:? :
Structure element access: . ->

Command line parameters argc and argv




judgment in C language
Various data types and 0 comparisons
Integer and 0 comparison
Floating point and 0 comparison
bool type compared to 0
Pointer type and 0 comparison (NULL)
Difference between NULL and '\0'



big-endian and little-endian


characters and strings
ASCII encoding
escape character
string
character array

array




pointer


function
recursive function
Use assertions in functions
Use const to improve the robustness of functions




Use library functions
String handling functions
math function
Other library functions





C language preprocessing:
macro definition #define
typedef redefine type name
#if #elif #endif
#ifdef #endif





















































Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324467394&siteId=291194637
Recommended