下面程序由两个源程序文件:t4.h和t4.c组成,程序编译运行的结果是: 【18】 。
t4.h 的源程序为:
#define N 10
#denne f2(x) (x*N)
t4.c 的源程序为:
#include <stdio. h>
#define M 8
#define f(x) ((x)*M)
#include "t4.h"
#main( )
int i, j;
i=f(1+1); j=f2(1+1);
printf(%d%d/n",i, j);
题库:计算机等级考试
类型:填空题
时间:2017-07-03 15:47:09
免费下载:《填空》Word试卷
下面程序由两个源程序文件:t4.h和t4.c组成,程序编译运行的结果是: 【18】 。
t4.h 的源程序为:
#define N 10
#denne f2(x) (x*N)
t4.c 的源程序为:
#include <stdio. h>
#define M 8
#define f(x) ((x)*M)
#include "t4.h"
#main( )
int i, j;
i=f(1+1); j=f2(1+1);
printf(%d%d/n",i, j);
本题关键词:程序,程序性文件,面试程序,编制程序,工程施工程序,复苏程序,工作程序,建设程序,程序变更,程序冲突;