call.c

来自「linux下的C语言开发」· C语言 代码 · 共 27 行

C
27
字号
/*-*//******************************************************** * Name: parameter					* *							* * Purpose: Demonstrate the use of pointers and		* *		parameter passing.			* *							* * Usage: Not useful, look at the source or 		* *	step through the program using the debugger.	* ********************************************************//*+*/#include <stdio.h>void inc_count(int *count_ptr){    ++(*count_ptr);}int main(){    int  count = 0;     /* number of times through */    while (count < 10)        inc_count(&count);    return (0);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?