@TOC
kernel 经常出现的({})
本文跟编译原理的语法分析有关,需要清楚语句和表达式的两个基本概念
Statements 语句
The statements of a C program control the flow of program execution.
包括
- Expression Statement:
x = ( y + 3 ); /* x is assigned the value of y + 3 */
x++; /* x is incremented */
x = y = 0; /* Both x and y are initialized to 0 */
proc( arg1, arg2 ); /* Function call returning void */
y = z = ( f( x ) + 3 ); /* A function-call expression */
- labeled-statement:identifier : statement
- compound statement 复合语句:由{}组成的
- selection-s