C语言代码实现:不使用printf函数输出字符串
#include <stdio.h>
int main(void) { char message[] = 'Hello World'; // 定义字符串 int i = 0; while (message[i] != '\0') { // 遍历字符串 putchar(message[i]); // 输出字符 i++; } return 0; }
原文地址: https://www.cveoy.top/t/topic/lLdL 著作权归作者所有。请勿转载和采集!