max.c

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

C
26
字号
/*-*//******************************************************** * Question:						* *	Why does the following program generate a	* *	warning when we compile it to the effect that	* *	"counter may be used before set?"		* *							* *	After all, we set it in the for loop, right?	* ********************************************************//*+*//* warning, spacing is VERY important */#include <stdio.h>#define MAX =10int main(){    int  counter;    for (counter =MAX; counter > 0; --counter)        printf("Hi there\n");    return (0);}

⌨️ 快捷键说明

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