📜  c 迭代字符串 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:44.084000             🧑  作者: Mango

代码示例1
int i = 0;
char str[] = "Hello World!";
    while(str[i] != '\0')
    {
        printf("%c", str[i]) ;
        ++i;
    }