摘要:
下面程序的输出结果是__________。 1 2 3 4 5 6 7 #include < iostream.h> #define SQR(A) A*A void main() { int x=6,y=3,z=2; x/=SQR(y+z)/SQR(y+z); cout< < x< < endl; 阅读全文
摘要:
在C语言中,以下代码执行之后,*p的值为() void func(int *p) { static int num = 4; p = # (*p)--; } int main() { int i = 5; int *p = &i; func(p); printf("%d", *p); ret 阅读全文
摘要:
程序段的执行结果是() 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include <iostream> using namespace std; void fun1(int &x) { x++; } void fun2(int x) { x++; } 阅读全文
摘要:
有以下程序#include <stdio. h>main(){ int x =35,B; char z ='B'; B =((x)&&(z <'b')); printf("%d\n",B);}程序运行后的输出结果是103566 答案 A 错选 B 考察类型之间的转换,布尔值与Int型 ascii码中 阅读全文