当前位置:网站首页>Zero basics of C language lesson 8: Functions

Zero basics of C language lesson 8: Functions

2022-06-26 13:41:00 Tom looks at programming

2. Function call

return: It is to transfer the calculated value from the self created function back to the main function

3. Statement

Declarations can be placed in front of the main function , Then follow your own function

 

(1). Statement to add ;

(2). The declaration and definition function names should be the same

If if( function )

The return value of the function needs to be divided into two categories , One is the required value , The other is 0

原网站

版权声明
本文为[Tom looks at programming]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202170513412891.html