若有定义char s[6],*ps=s;则正确的赋值语句是( )。
A: ps="12345";
B: s="12345";
C: *s="12345";
D: *ps="12345";
A: ps="12345";
B: s="12345";
C: *s="12345";
D: *ps="12345";
举一反三
- 以下哪个选项是正确的json数据格式: A: { "id": 2, "userName": admin, "passWord": 12345, "email": admin@qq.com} B: { id: 2, userName: "admin", passWord: "12345", email: "admin@qq.com"} C: { "id": 2, "userName": "admin", "passWord": "12345", "email": "admin@qq.com",} D: { "id": 2, "userName": "admin", "passWord": "12345", "email": "admin@qq.com"}
- 下列选项中,属于JSON数据的是( ) A: [{"name":"LiLi","city":"Beijing"}] B: ["abc",12345,false,null] C: {"abc",12345,false,null} D: {"city":"Beijing","street":"Xisanqi"}
- 设chars[6],*ps=s;,则正确的赋值语句是() A: s=“12345”; B: *s=“12345”; C: ps=“12345”; D: *ps=“12345”;
- 下列选项中正确的语句组是? char; s[8];; *s="Beijing";|char; s[8];; s={"Beijing"};;;|char; *s;; s="Beijing";|char; *s;; *s={"Beijing"};
- 以下字符串定义错误的是___________。 A: char s[7]="Teacher"; B: char s[]="Teacher"; C: char s[10]={"Teacher"}; D: char s[10]="Teacher";