A、pa count count
B、count pa count
C、count pa pa
D、pa count pa
A、pa count count
B、count pa count
C、count pa pa
D、pa count pa
A、第2行*p 第3行p-str
B、第2行*p 第3行*(p-str)
C、第2行p 第3行*(p-str)
D、第2行p 第3行p-str
include <iostream>
using namespace std;
int strle(char a[],char b[])
{
int num=O,n=O;
while (* (a+num) !='\0')
num++;
while (b [n] )
{
* (a+num)=b [n];
num++;
n++;
}
return(num);
}
int main ()
{
char strl[80],str2[80],*p1=str1,*p2=str2;
cin>>p1;
cin>>p2;
cout<<strle(p1,p2)<<end1;
return 0;
}
运行上述程序,如果从键盘输入字符串qwerty和字符串abcd,则程序的输出结果是【 】。
A、1
B、50
C、100
D、10000
A、29
B、37
C、20
D、31
A、typedef date { int year,month,day ; } type_date;
B、struct { char name[10] ; float angle ; };
C、typedef struct date { int year,month,day ; } type_date ;
D、struct date { int year,month,day ; } type_date ;
A、结构类型s1,s2
B、结构类型标签student和结构变量s1,s2
C、结构变量student
D、链表student
A、(*p).age
B、std->age
C、*std->age
D、*p.age
B、ACEG
C、EGIK
D、EFGHIJKL
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!