摘要: 若int k=8;则执行下列程序后,变量k的正确结果是main(){ int k=8; switch(k) { case 9:k+=1; [阅读全文:]
摘要: 有以下程序#include <stdio.h>#include <stdlib.h>int fun(int t){ int *p;p=(int*)[阅读全文:]
摘要: 设有如下说明typedef struct{ int n; char c; double x;}STD;则以下选项中,能正确定义结构体[阅读全文:]
摘要: 有如下程序段#include "stdio.h"typedef struct aa{ int a; struct aa *next;} M;void set(M *[阅读全文:]
摘要: 有以下程序int fun(int n){if(n==1) return 1;else return(n+fun(n-1));}main(){int x;scanf("%d[阅读全文:]
摘要: 以下程序中调用scanf函数给变量a输入数值的方法是错误的,其错误原因是main(){ int *p,*q,a,b; p[阅读全文:]
摘要: 若有函数内部说明:int a[3][4];,则数组a中各元素[阅读全文:]
摘要: 若x,i,j和k都是int型变量,则计算表达式x=(i=4,j=16,k=32)后,x的值为[阅读全文:]
摘要: 有下列程序main(){ int a[5]={2,4,6,8,10},*p,**k; p=a; k=&p; printf("%d",*(p++)); p[阅读全文:]
摘要: 面向对象程序设计的三大主要特点分别是封装性、继承性和[阅读全文:]