以下程序的输出结果是#include <iostream>using namespace std;int main(){cout.fill('*');cout.
以下程序的输出结果是#include <iostream>using namespace std;int main(){ cout.fill('*'); cout.width(5); cous<<hex<<100<<end1; return 0;}
A.**100
B.***64
C.100**
D.64***
以下程序的输出结果是#include <iostream>using namespace std;int main(){ cout.fill('*'); cout.width(5); cous<<hex<<100<<end1; return 0;}
A.**100
B.***64
C.100**
D.64***
第1题
以下程序的输出结果是 【7】 。
#include "stdio.h"
main()
{int a=065;
printf("%d\n",--a);
}
第3题
以下程序的输出结果是#include "stdio.h"main(){ int a=065; printf("%d\n",--a);}
第4题
以下程序的输出结果是【 7 】。
#include <stdio.h>
main()
{ int a=37;
a+=a%=9; printf(”%d\n”, a),
}
第5题
有以下程序:
# include< iostream>
执行这个程序,输出结果是()。
第6题
以下程序的输出结果是【 10 】。
#include .<stdio.h>
Main()
{ char a,b;
for(a=0; a<20; a+=7) { b=a% 10; putchar(b+'0'); }
}
第7题
以下程序的输出结果是_[19]_______
#include <stdio.h>
#define M 5
#define N M+M
main()
{ int k;
k=N*N*5; printf("%d\n",k);
}
第8题
以下程序的输出结果是_[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);
}
第9题
以下程序的输出结果是_____.
# include
main()
{ printf(“%d\n”,strlen(“IBM\n012\1\\”));
}
第10题
以下程序的输出结果是_[12]_______.
#include <stido.h>
main()
{ int i;
for(i='a';i<'f';i++,i++) printf("%c",i-'a'+'A');
printf("\n");
}
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!