A.char nm[10]; nm="C Program";
B.char str1[10]="computer",str2[10]; str2=str1;
C.char str[7]="siring!";
D.char sp[]="Hello!";
[单选题]以下选项中,合法的赋值语句是()A . a==1B . ++iC . a=a+1=5D . y=int(i)
[单选题]以下选项中合法的C语言赋值语句是( )。A.++i;B.a=b=34C.a=3,b=9D.k=int(a+b);
[单选题]下列选项中合法的赋值语句是( )。A.a-b=34B.a=34,b=34C.i-1;D.m=(int)(x+y);
[单选题]下列选项中合法的赋值语句是( )。A.a=b=34B.a=34,b=34C.i-1;D.m=(int)(x+y);
[单选题]下列选项中合法的Java语言赋值语句是( )。A.x=y=9B.x=y++;C.x+y;D.x++=y;
[单选题]根据下面的程序,可以在主程序中使用的合法语句是( )。 include using namesp根据下面的程序,可以在主程序中使用的合法语句是( )。 #include <iostream> using namespace std; class Person{ int age; public: void SetAge(int x){age=x;} void ShowAge(){cout<<"the Person's age is" <<age;} }; class Student:pri
[单选题]根据下面的程序,可以在主程序中使用的合法语句是( )。 include using namespa根据下面的程序,可以在主程序中使用的合法语句是( )。 #include <iostream> using namespace std; class Person{ int age; voidtest(){} public: Person(intage){this->age=age;} void ShowAge(){cout<<"the Person's age is",<<age;} };
[单选题]以下合法的赋值语句是______。A.X=Y=100B.D--;C.X+Y;D.C=int(A+B)
[单选题]以下合法的赋值语句是 ( )A.x=y=100B.d - -;C.x + y;D.c=int(a十B)
[单选题]以下合法的赋值语句是______。A.X=Y=100B.D£;C.X£«YD.C=int(A£«B)以下合法的赋值语句是______。A.X=Y=100B.D-;C.X+YD.C=int(A+B)