28 c int initialization
如何确定是否取消分配整数?
int i; /* no assignment */
if (/* conditional statement here to check if int i is unassigned or not */) {
printf("Integer is unassigned!\n");
} else {
printf("Integer is assigned!\n");
}
Run Code Online (Sandbox Code Playgroud)