headB.h中:

#ifndef headB_H
#define headB_H
int i = ;
int arr[]={,,,,};
#endif

.c文件中:

#include "headB.h"
#include <stdio.h> void main() {
int j=;
for (;j<;j++)
{
printf(" %d",arr[j]);
} printf("\n%d",i);
}

结果:

1 2 4 5 3
888  请按任意键继续. . .

最新文章

  1. Java集合框架List,Map,Set等全面介绍
  2. 问题解决:psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket &quot;/var/run/postgresql/.s.PGSQL.5432&quot;?
  3. 【CodeForces 614A】Link/Cut Tree
  4. Spring面试题集
  5. reset.css(详细说明)
  6. 如何把本机Sql Sever数据库转移到虚拟主机sql数据库
  7. C# 之 AES加密源码
  8. iOS 正则表达式-判断邮箱、手机号
  9. 在浏览器运行 java applet时遇到的一些问题及其解决方法
  10. 04747_Java语言程序设计(一)_第2章_运算和语句
  11. popup_layer插件示例
  12. jsp内置对象-response对象
  13. 【jQuery】(1)---初次接触Jquery
  14. 【TYVJ 1056】能量项链
  15. webpack学习笔记 (二) html-webpack-plugin使用
  16. xxx征集系统项目目标文档
  17. 用grep 筛选fastq 序列
  18. Nhibernate学习
  19. php中比较好用的函数
  20. 查看window下默认ORACLE_SID

热门文章

  1. JQuery实现超链接鼠标提示效果
  2. mysql 数据库 切表的脚本
  3. Phone APP设计规范/iPad APP设计规范/Android APP设计规范/网页设计规范
  4. 编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
  5. java中集合框架
  6. 让div显示在屏幕中央的css代码段
  7. 在 AngularJS 中将 XML 转换为 JSON
  8. Angular - - angular.element
  9. 【BZOJ1552】[Cerc2007]robotic sort Splay
  10. 我用Cocos2d-x模拟《Love Live!学院偶像祭》的Live场景(二)