下列项目中,可以采用数量金额式格式的是()。
A.库存商品明细分类账
B.银行存款日记账
C.应收账款明细分类账
D.原材料明细分类账
A.库存商品明细分类账
B.银行存款日记账
C.应收账款明细分类账
D.原材料明细分类账
第1题
以下程序的输出结果是_[13]_______
#include <stdio.h>
#include <string.h>
char *fun(char *t)
{ char *p=t;
return(p+strlen(t)/2);
}
main()
{ char *str="abcdefgh";
str=fun(str);
puts(str);
}
第2题
以下程序的输出结果是 【 12 】 。
# include <string.h>
main()
{ char a[]={'\1', '\2', '\3', '\4', '\0'};
printf("%d % d\n",sizeof(a ),srelen(a ));
}
第3题
以下程序的输出结果是 _[13]_______ .
#include <stdio.h>
#include <string.h>
char *fun(char *t)
{ char *p=t;
return(p+strlen(t)/2);
}
main()
{ char *str="abcdefgh";
str=fun(str);
puts(str);
}
第4题
以下程序的输出结果是【 】。
include <stdio.h>
include <string.h>
char *fun(char *0
{ char *p--t;
return (p+strlen(t)/2);
}
main()
{ char *str="abcdefgh";
str=ftm(str);
puts(str);
}
第5题
以下程序的输出结果是【 】。
include <stdio.h>
include <string.h>
char *fun(char *t)
{ char *p=t;
return (p+strlen(t)/2);
}
main()
{ char *str="abcdefgh";
str=ftm(str);
puts(str);
}
第6题
下列程序的输出结果是()。 #include<iostream.h> #include"string.h" void main() {char a[]="Hello Test",b[]="Test"; strcpy(a,b); cout<<a<<end1; }
A.Hello
B.Test
C.Hello Test
D.Hello Test HelloTest
第7题
以下程序的输出结果是【 】。
include<iostream.h>
include <string.h>
void main 0 {
char s[50];
strcpy(&s[O], "No" );
strcpy(&s[1], "123" );
strcpy (&s[2], "23456" );
cout<<s;
}
第8题
以下程序的输出结果是()。 #include <stdio.h> #include <string.h> main() { char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str) ); }
A.6
B.7
C.11
D.12
第9题
以下程序的输出结果是() #include<stdio.h> #include<string.h> main() {char str[12]={'s','t','r','i','n','g'}; printf("%d\n",strlen(str)); }
A.6
B.7
C.11
D.12
第10题
以下程序输出的结果是
#include<stdio.h>
#include<string.h>
main()
{ char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k;
for(k=1;k<3;k++) printf("%s\n",&w[k][k]);}
A.ABCD FGH KL
B.ABC EFG IJ M
C.EFG JK 0
D.FGH KL
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!