c語言字符串簡單函數簡單應用

    //記憶字符串的函數      //1.strcpy賦值函數的用法;      /*char a[50]="hello world";     char b[50];     strcpy(b,a);     printf("%s",b);*/          //2.strcmp比較函數     /*char *a="hello world";     char *b="world h
相關文章
相關標籤/搜索