• 2022-05-30 问题

    Which of the following program is right? A: include <stdio.h> int main(); { /*programming*/ printf("programming!\n"); return 0; } B: include <stdio.h> int main() { /*programming*/ printf("programming!\n"); return 0; } C: include <stdio.h> void main() { /*programming*/ printf("programming!\n") return 0; } D: include <stdio.h> int mian() { /*programming*/ printf("programming!\n"); return 0; }

    Which of the following program is right? A: include <stdio.h> int main(); { /*programming*/ printf("programming!\n"); return 0; } B: include <stdio.h> int main() { /*programming*/ printf("programming!\n"); return 0; } C: include <stdio.h> void main() { /*programming*/ printf("programming!\n") return 0; } D: include <stdio.h> int mian() { /*programming*/ printf("programming!\n"); return 0; }

  • 2021-04-14 问题

    下面程序的运行结果是().#include"stdio.h"#include"s...\n",strcmp(s1,s2));}

    下面程序的运行结果是().#include"stdio.h"#include"s...\n",strcmp(s1,s2));}

  • 2021-04-14 问题

    程序执行结果是? #include Main() { int n=2; n+=n-=n*n; printf(“n=%d\n”,n); }

    程序执行结果是? #include Main() { int n=2; n+=n-=n*n; printf(“n=%d\n”,n); }

  • 2021-04-14 问题

    程序执行结果是? #include Main() { int n=2; n+=n-=n*n; printf(“n=%d ”,n); }

    程序执行结果是? #include Main() { int n=2; n+=n-=n*n; printf(“n=%d ”,n); }

  • 2021-04-14 问题

    #include void main ( ) { int n = 4 ; while (n--) printf ("%d",--n); }

    #include void main ( ) { int n = 4 ; while (n--) printf ("%d",--n); }

  • 2021-04-14 问题

    读程序写结果。()#include“stdio.h”main(){ char a...‘\n’);printf(“\n”);}

    读程序写结果。()#include“stdio.h”main(){ char a...‘\n’);printf(“\n”);}

  • 2021-04-14 问题

    编写程序,用“*”输出字母C。 答案: #include void main() { printf("* * * *\n"); printf("*\n"); printf("*\n"); printf("*\n"); printf("* * * *\n");

    编写程序,用“*”输出字母C。 答案: #include void main() { printf("* * * *\n"); printf("*\n"); printf("*\n"); printf("*\n"); printf("* * * *\n");

  • 2022-05-29 问题

    以下程序输出结果是___________.#include &#91;stdio.h&#93;#include &#91;string.h&#93;int main() { int a=2,*pa=&a; float n=5.888,b,*pn=&n; b=*pa+(int)*pn;printf("%.1f\n",b); return 0;}

    以下程序输出结果是___________.#include &#91;stdio.h&#93;#include &#91;string.h&#93;int main() { int a=2,*pa=&a; float n=5.888,b,*pn=&n; b=*pa+(int)*pn;printf("%.1f\n",b); return 0;}

  • 2022-05-30 问题

    Which of the following program is right? ( ) A: #include<br/>int main();<br/>{ /*programming*/<br/>printf("programming!\n");<br/>return 0;<br/>} B: #include<br/>int main()<br/>{ /*programming*/<br/>printf("programming!\n");<br/>return 0;<br/>} C: include <br/>void main()<br/>{ /*programming*/ <br/>printf("programming!\n");<br/>return 0;<br/>} D: #include<br/>int mian()<br/>{ /*programming*/<br/>printf("programming!\n");<br/>return 0;<br/>}

    Which of the following program is right? ( ) A: #include<br/>int main();<br/>{ /*programming*/<br/>printf("programming!\n");<br/>return 0;<br/>} B: #include<br/>int main()<br/>{ /*programming*/<br/>printf("programming!\n");<br/>return 0;<br/>} C: include <br/>void main()<br/>{ /*programming*/ <br/>printf("programming!\n");<br/>return 0;<br/>} D: #include<br/>int mian()<br/>{ /*programming*/<br/>printf("programming!\n");<br/>return 0;<br/>}

  • 2022-06-09 问题

    以下程序的执行结果是( )。#include <;stdio.h>;main(){ float f=13.8;int n;n=((int)f)%3;printf("n=%d\n",n);}

    以下程序的执行结果是( )。#include <;stdio.h>;main(){ float f=13.8;int n;n=((int)f)%3;printf("n=%d\n",n);}

  • 1 2 3 4 5 6 7 8 9 10