我正在编写程序,我只需要检查:我可以命名变量output
还是input
?例如:
int output;
int input;
或者这是其他名称的预先分配名称吗?我要为程序导入的模块是:
#include <pwd.h>
#include <fcntl.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <setjmp.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <readline/history.h>
#include <readline/readline.h>
如果变量和任何保留字之间存在冲突,则编译器会在编译过程中警告或错误通知您。因此,如果编译不产生任何错误,则分配变量的名称会很好。