搜索
查看: 264|回复: 2

12-01

[复制链接]
 楼主| 发表于 2018-12-1 10:39:18 | 显示全部楼层 |阅读模式
5啊哈币
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(){
  4.     int a = 1, b = 2, c = 3;
  5.     int *p = &c;
  6.     int i;
  7.     for(i=0; i<8; i++){
  8.         printf("%d, ", *(p+i) );
  9.     }
  10.     return 0;
  11. }






复制代码

楼主新帖
楼主热帖
 楼主| 发表于 2018-12-1 10:40:20 | 显示全部楼层
发表于 2018-12-8 12:27:58 | 显示全部楼层
在return 0;前面加上system("pause");

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

广播台
特别关注
快速回复 返回顶部 返回列表