This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问: 如果我在程序中自己定义一个中间变量,需不需要在头文件中也要声明一下?
这完全是C语言的问题 中间变量看你要在哪儿用了
如果只在当前文件中使用 就不用声明了
如果其他文件也要调用并判断 则需要声明