C語言字符數組經常使用函數

這裏是引用#include<string.h>函數庫web #include<stdio.h> #include<string.h> int main() { char str[10],c[10]; gets(str); //輸出字符串的函數 puts(str); //輸出字符串的函數 printf("%c",str); printf("\n")
相關文章
相關標籤/搜索