输出单个字符

#include <stdio.h>
#include <string.h>

int main()
{
    int i;
    char msg[] = jb51.cc.com;
    for (i = 0; i < strlen(msg); i++)
    {
        putchar(msg[i]); //Outputs a single character
    }

    putchar('\n'); // One line break after the loop is done.

    return(0);
}

相关文章

for遍历数组
。。。
声明一个计数循环
咕咕咕
#include <stdio.h> int main (void) { printf (&quo...