Before the all in the Evernote record
Continue ends the loop body and enters the next cycle.
Break directly ends the entire while loop
Parameter: Parameters in the function name after a timer function
Arguments: The specific data passed in when the function is called
The base data type is a formal parameter, is purely a value pass, modifies the value of a function's internal parameter without affecting the argument value
Role of Rerurn: 1, Exit function
2. Returns the specific reference to the function caller.
The function of void: No return value, can also return;
void login (QQ, password)
{
If QQ has no value
1, if (QQ no value) return;
If the password does not have a value
2, if (password no value) return;
3, QQ and password to send to the server.
}
1, the function name does not declare the data type, the system automatically defaults to the int type. such as test () = int Test ()
2. By default, the C language does not allow two functions of the same name to appear.
3. Functions cannot be nested defined.
4. Functions cannot be defined repeatedly, but can be declared repeatedly.
void A ();//Declaration
Vodi A ();
int main ()
{
}
void A ()
{
}//definition
5, there is a function declaration, there is no definition, the function can be compiled, can not be linked. PS: The compiler only detects syntax when compiling, and does not detect whether a function is defined. The definition is detected when the compiler links.
C language 01