【发布时间】:2021-09-29 10:09:49
【问题描述】:
我刚刚尝试为a、b 和d 提供相同的值,并且每次运行我的代码时都会生成一个随机值。
#include <stdio.h>
int main()
{
int a = 4; //type declaration instructions
int b = 999, c, d;
a = b = d;
printf("The value of a and b is %d and %d \n", a, b);
return 999;
}
【问题讨论】:
-
d 没有被赋值
标签: c var variable-declaration