#include void main(){int a,b;scanf("%d %d" ,a,b);printf("%d %d\n" ,a,b);}然后就local variable 'a' used without having been initialized了本地变量"a"未初始化 应该怎么该?

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 00:33:28
#include void main(){int a,b;scanf(
x)SK)MIU(LQMЬ+QHI.NNKPRMQPMQR iZea1y0-۞N{acN~rbBYbQfbRNzBiqjByfIF~iBFbYf^BRjjBf^fIfbNfUjʓ]my:g/YcO{)<52oTp>0L|`Xr` >ϛ`X_`g3#ٔ:&Fб:j:j/.H̳zc r4/X

#include void main(){int a,b;scanf("%d %d" ,a,b);printf("%d %d\n" ,a,b);}然后就local variable 'a' used without having been initialized了本地变量"a"未初始化 应该怎么该?
#include
void main()
{
int a,b;
scanf("%d %d" ,a,b);
printf("%d %d\n" ,a,b);
}
然后就local variable 'a' used without having been initialized了
本地变量"a"未初始化
应该怎么该?

#include void main(){int a,b;scanf("%d %d" ,a,b);printf("%d %d\n" ,a,b);}然后就local variable 'a' used without having been initialized了本地变量"a"未初始化 应该怎么该?
改成
scanf("%d,%d",&a,&b);

本地变量"a"未初始化