• 2021-04-14
    Corin's hobbies include _____.

  • drawingclimbingbuilding Legoancient history

    内容

    • 0

      Seismic waves include P wave, S wave, Rayleigh wave and Love wave, of which the fastest is P wave.

    • 1

      #include #include main() {char str[][20]={"One*World","One*Dream!"}; char *p=str[1]; printf(“%d,”,strlen(p)); printf("%s ",p); } 程序运行后的输出结果是

    • 2

      对下述程序的判断中,正确的是(). #include void main() { char *p,s[256]; p=s; while(strcmp(s,"the end")) {printf("Input the string:"); gets(s); while(*p) putchar(*p++);}}

    • 3

      有以下程序:#include <;stdio.h>;#include <;stdlib.h>;int main(){char *p,*q;p=(char*)malloc(sizeof(char)*20);q=p;scanf("%s%s",p,q);printf("%s %s",p,q);return 0;}程序执行后若从键盘上输入:abc└┘def↙,则输出结果是( )。 A: d└┘d B: def└┘def C: abc└┘d D: abc└┘def

    • 4

      有以下程序段,输出结果为()。 #include<stdio.h> main() { int a[10]={11,32,43,25,16,71,24,23,80,44}; int *p=a; int *s,; s=p+2; printf("%d,%d ",*p,*s); }