以下能正确地定义整型变量a,b和c并为其赋初值5的语句是()。
A.inta=b=c=5;
B.inta,b,c=5;
C.inta=5,b=5,c=5;
D.a=b=c=5;
正确答案:A
猜你喜欢