问题详情

下面程序由两个源文件 t4.h 和 t4.c 组成,程序编译运行的结果是 【 18 】 。

t4.h 的源程序为:

#define N 10

#define 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);

}

参考答案
您可能感兴趣的试题