- function cannot be nested inside a function
- What's The difference between these two?
#define A int[10] is a macro definition and is only replaced at compile time, without type checking;
typedef int a[10]; Just give the int type a name, and type check when Compiling.
typedef type alias; type aliases with this
Characters replaced by #define name macro definition just replace one of your writing with something else, such as # define Hello "hello" and replace Hello with "hello"
The definition of Functions in C language is parallel and independent of each other,
That is, in a function definition, the function body cannot contain the definition of another function, that is, the function cannot be nested , but can be nested .
Nesting functions means that in some cases you may need to use a function as an argument to another function, which is a nested function.
- Precedence of relational operators
C Language Review