1.
#include<stdio.h>
#include?<iostream>
?int?main()?
?{
?????//printf("include<stdio.h>\n");
?????//printf("include<stdio.h>\n");
?????const?int?a?=?99;
?????int?b;
?????b?=?100;
?????std::cin?>>?b;
?????printf("?%d,?%d",?a,?b);
?????return?0;
?}
?2.
?#include<stdio.h>
#include?<iostream>
?int?main()?
?{
?????//printf("include<stdio.h>\n");
?????//printf("include<stdio.h>\n");
?????const?int?a?=?99;
?????int?b;
?????b?=?100;
?????scanf("?%d",?b);
?????printf("?%d,?%d",?a,?b);
?????return?0;
?}
?為什么1運行成功但2不行