C puzzles and puzzles
Question:Http://www.gowrikumar.com/c/
Refer:Http://wangcong.org/blog/archives/291
Http://www.cppblog.com/smagle/archive/2010/05/27/116211.html
Http://blog.chinaunix.net/uid-474889-id-2397033.html
Blog index:
C puzzles [1-5]
C puzzles [6-8]
C puzzles [9-12]
C puzzles]
C puzzles [16-20]
C puzzles (question 21-25]
C puzzles [26-30]
C puzzles (questions 31-33]
C puzzles [34-37]
C puzzles [38-45]
C puzzles]
C puzzles (Question 51-57]
Attachment:
C_puzzlesdetails.zip
Explanation of 32 keywords in C Language
32 keywords in C Language
[Code] auto: automatic variable declaration is generally not used
Double: Declares double-precision variables or functions.
Int: Declares integer variables or functions.
Struct: Declares struct variables or functions.
Break: jump out of the current loop
Else: The Condition Statement denies the branch (used with if)
Long: declares a long integer variable or function.
Switch: Used for the switch statement
Case: switch statement Branch
Enum: Declares the enumeration type.
Register: declare the memory variable
Typedef: Used to get an alias for the data type (of course there are other functions)
Char: declare struct variables or functions
Extern: declared variables are declared in other files (or can be seen as referenced variables)
Return: subprogram return Statement (which can contain parameters or not)
Union: Declares the union data type.
Const: declare Read-Only variables
Float: Declares floating point variables or functions.
Short: declare short integer variables or functions
Unsigned: Declares unsigned type variables or functions.
Continue: ends the current cycle and starts the next cycle.
For: a loop statement)
Signed: life-signed type variable or function
Void: declares that a function has no return value or no parameter and has no type pointer (basically, these three functions)
Default: "other" branch in the switch statement
Goto: unconditional jump statement
Sizeof: calculates the length of the data type.
Volatile: indicates that variables can be implicitly changed during program execution.
Do: the body of the loop statement.
While: the loop condition of the loop statement
Static: declare static variables
If: Condition Statement [/code]
Reference: zhidao.baidu.com/question/4258091.html? Si = 3
Explanation of C Language
Printf: C language output function;
Scanf: C language input function;
Main: main Function in C language;
You don't need to introduce some word types (int, float, double ,....)
The format is as follows: Type int function main ()
Int main ()
{.....};