首页 > 其他 > 详细

牛老师 你好

时间:2017-03-31 18:11:44      阅读:118      评论:0      收藏:0      [点我收藏+]
#include<stdio.h>
int main()
{    void funstr(char str[12]);
     char str[12]={"hello world"};
     char *a=str;
     str[0]=H;
     funstr(a);
     return 0;
} 
void funstr(char str[12])
{
    int t=0;
    printf("%s\n",str);
    while(str[t]!=\0)
    {
        printf("%c",str[t]);
        t++;
    }
}

老师  我上课时候 单词打错了 所以有那么一点小瑕疵  一直没对 错误提示没看懂

Hello world
Hello world请按任意键继续. . .

 

牛老师 你好

原文:http://www.cnblogs.com/dingyubin/p/6652576.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!