• 2021-04-14
    【单选题】下面判断正确的是()。
    A、char *s="girl"; 等价于 char *s; *s="girl";
    B、char s[10]={"girl"}; 等价于 char s[10]; s[10]={"girl"};
    C、char *s="girl"; 等价于 char *s; s="girl";
    D、char s[4]= "boy", t[4]= "boy"; 等价于 char s[4]=t[4]= "boy"
    A. char *s="girl"; 等价于 char *s; *s="girl";
    B. char s[10]={"girl"}; 等价于 char s[10]; s[10]={"girl"};
    C. char *s="girl"; 等价于 char *s; s="girl";
    D. char s[4]= "boy", t[4]= "boy"; 等价于 char s[4]=t[4]= "boy"
  • 举一反三