first.c

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

C
19
字号
/*-*//******************************************************** * Question: Why does this program tell us that the	* *	answer is 47 when we know that it should be	* *	144?						* ********************************************************//*+*/#include <stdio.h>#define FIRST_PART      7 #define LAST_PART       5 #define ALL_PARTS       FIRST_PART + LAST_PART int main() {     printf("The square of all the parts is %d\n", 	ALL_PARTS * ALL_PARTS);     return (0);} 

⌨️ 快捷键说明

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