当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

以下程序的输出结果是______。#include#define FUDGE(y) 2.84+y#define PR(a)printf(\%d


以下程序的输出结果是______。 #include<stdio.h> #define FUDGE(y) 2.84+y #define PR(a) printf("%d\n",(int)(a)) #define PRINT1(a) PR(a);putchar("\n") main() { int x=2; PRINT1(FUDGE(5)*x); }

A.11

B.12

C.13

D.15

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 试题7以下程序运行后的输出结果是______。#include <stdio.h>main(){ int a=37; a%=9; prin

  • 试题8以下程序运行后的输出结果是_____。#include <stdio.h>main(){ int i, j;for(i=6; i&g

  • 试题11以下程序运行后的输出结果是______.#include <stdio.h>void fun(int x){ if(x/5>

  • 试题13以下程序运行后的输出结果是______.#include <stdio.h>main(){ int n[2], i, j;for(

  • 以下程序运行后的输出结果是_______。include<stdio.h>main( ){int a=200 b=010;print(”%d%

  • 请选出以下程序段的输出结果______。#include#define MIN(x y)(x)