问题

以下程序运行后的输出结果是 【 8 】 。

#include <stdio.h>

main()

{ int x=20;

printf("%d ",0<x<20);

printf("%d\n",0<x && x<20); }

参考答案
您可能感兴趣的试题
  • 以下程序运行后的输出结果是 【 9 】 。#include main (){ int a=1,b=7;do {b=b/2;a+=b;} while (b>1);printf(%d\
  • 有以下程序#include main(){ int f,f1,f2,i;f1=0;f2=1;printf(%d %d ,f1,f2);for(i=3;i<=5;i++){ f=f
  • 有以下程序#include int a= 5;void fun(int b){ int a= 10;a+=b; printf(%d,a);}main(){ int c=20;fu
  • 设有定义:struct person{ int ID;char name[12];}p;请将 scanf(%d, 【 1 2 】 ); 语句补充完整,使其能够为结构体变量 p 的成员 ID 正确读
  • 有以下程序#include main(){ char a[20]=How are you?,b[20];scanf(%s,b); printf(%s %s\n,a,b);
  • 有以下程序#include typedef struct{ int num;double s ; }REC;void fun1( REC x ){x.num=23; x.s=88.5