← 返回列表

C库函数 puts()

C库函数 puts() #include <stdio.h> #include <string.h> int main () { char str1[15]; char str2[15]; strcpy(str1, "codingdict"); strcpy(str2, "compileonline"); puts(str1); puts(str2); return(0); }

C库函数 puts()

#include <stdio.h>

#include <string.h>



int main () {

   char str1[15];

   char str2[15];



   strcpy(str1, "codingdict");

   strcpy(str2, "compileonline");



   puts(str1);

   puts(str2);



   return(0);

}

打开资源 ↗

交流与评论