#include <stdio.h>
#include <stdlib.h> int main()
{
int *p,t;
p = (int *)malloc(40*sizeof(int));
if (!p){
printf("内存已用完!j");
exit(0); }
for (t=0;t<40;++t) *(p+t)=t;
for (t=0;t<40;++t)
{
if (t%5==0)putchar('\n');
printf("%2d\t",*(p+t));
}
free(p);
return 0;
}

最新文章

  1. Javacript实现字典结构
  2. winform listbox与textbox组合提示框 模糊查询
  3. ASP.NET MVC学习之路由篇(3)
  4. android shape详解
  5. 九、CCAction
  6. 1.6Linux设备驱动
  7. 一、List的扩展
  8. c++对象内存布局
  9. ASP.NET Web API 通过参数控制返回类型(JSON|XML)
  10. openstack controller ha测试环境搭建记录(五)——配置rabbitmq集群
  11. 2n皇后问题
  12. [Swift]LeetCode542. 01 矩阵 | 01 Matrix
  13. python 内置数据类型之字符串
  14. android -------- 获取手机设备信息
  15. [Ubuntu] 如何设置静态 IP 和 DNS
  16. shell 8printf
  17. jQuery height()、innerHeight()、outerHeight()函数的区别详解
  18. python 3.x 爬虫基础---Requersts,BeautifulSoup4(bs4)
  19. 解决su – 后显示-bash-4.1#
  20. 双T滤波电路用于PWM方式DAC的分析

热门文章

  1. Python周末21天笔记
  2. 爬虫之Scarpy.Request
  3. 使用cxf 发布 jax-rs 风格webservice 。并客户端测试。
  4. CMD终端关于pip报错,scrapy报错的一种处理方法
  5. c++ vector实例
  6. 笔记-python-tutorial-5.data structure
  7. 计算时间复杂度&amp;空间复杂度
  8. STW 团队项目分析
  9. Leetcode 617.合并二叉树
  10. Leetcode 540.有序数组中的单一元素