题目内容

#include
#define SUB (a ) (a ) - (a )
main ()
{ int a=2,b=3,c=5,d;
d=SUB (a+b ) *c;
printf (" %d \ n " ,d ) ;
}
程序运行后的输出结果是
A ) 0
B ) -12
C ) -20
D ) 10

查看答案
更多问题

#include
main ()
{ int k = 011 ;
printf (" %d \ n ", k++ ) ;

程序运行后的输出结果是
A ) 12
B ) 11
C ) 10
D ) 9

#include
#include
void main()
{
char a[7] = "china";
int i, j;
i = sizeof(a); j = strlen(a);
printf("%d, %d\n", i, j);
}
(59)

A. 5, 5
B. 6, 6
C. 7, 5
D. 7, 6

(63)

C. <2tag>

#include
void fun (char *c , int d )
{*c=*c+1 ; d=d+1 ;
printf (" %c , %c , ", *c , d ) ;
main ()
{ char b= ‘ a ’ , a= ‘ A ’ ;
fun (&b , a ) ; printf (" %e , %e \ n ", b , a ) ;

程序运行后的输出结果是
A ) b , B , b , A
B ) b , B , B , A
C ) a , B , B , a
D ) a , B , a , B

答案查题题库