当前位置: X题卡 > 所有题目 > 题目详情

设有以下语句: char str1[]="string",str2[8],*str3,*str4="str4="string"; 则______不是对库函数的正确调用。

查看本题答案

你可能感兴趣的试题

strcpy(strl,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str4,"HELLO4");  
ciget(str, strlen(st);  cigetline(str, strlen(st);  cin>>str;  ciread(str, strlen(st);  
cin.get(str, strlen(str));  cin.getline(str, strlen(str));  cin>>str;  cin.read(str, strlen(str));  
eiget(str,strlen(st);  cigetline(str,strlen(st);  cin>>str;  ciread(str,strlen(st);  
strcpy(str 1,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str4,"HELLO4");  
ciget(str, strlen(st);  cigetline(str,strlen(st);  cin>>str;  ciread(str, strlen(st);  
strcpy(strl,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str4,"HELLO4");  
strcpy(str1,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str 4,"HELLO4");  
*p与str[0]的值相等  str与p的类型完全相同  str数组长度和p所指向的字符串长度相等  数组str中存放的内容和指针变量p中存放的内容相同  
ciget(str,strlen(st);  cigetline(str,strlen(st);  cin>>str;  ciread(str,strlen(st);  
ein.get(str,strlen(str));  cin.getline(str,strlen(str));  cin>>str;  cin.read(str,strlen(str));  
cin.get(str, strlen(str));  cin.getline(str,strlen(str));  cin>>str;  cin.read(str, strlen(str));  
strcpy(str 1,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str4,"HELLO4");  
strcpy(str1,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str 4,"HELLO4");  
strcpy(strl,"HELLO1");  strcpy(str2,"HELLO2");  strcpy(str3,"HELLO3");  strcpy(str4,"HELLO4");  
char nm[10]; nm="C Program";  char str1[10]="computer",str2[10]; str2=str1;  char str[7]="siring!";  char sp[]="Hello!";  
cin.get(str,strlen(str));  cin.getline(str,strlen(str));  cin>>str;  cin.read(str,strlen(str));  
scanf("%s"0,&str);  printf("%c",str);  printf("%s",str[0]);  printf("%s",str);  
char nm[10]; nm="C Program";  char str1[10]="computer",str2[10]; str2=str1;  char str[7]="string!";  char sp[]="Hello!";  

热门试题

更多