皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
下面关于静态成员函数的描述正确的是()
A.
静态成员函数可以直接访问非静态成员
B.
可以通过类名访问公有静态成员函数
C.
不能通过对象名访问公有静态成员函数
D.
静态成员函数只能访问静态数据成员
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】阅读下列程序,并把运行结果填写在80题答题处。 #include int a=3; int f(int c) {static int a=3;int t=1; while(c-->a) t=t*c; return (a++)+t;} void main() {int i,s=0; for(i=1;i<3;i++) {int a=5; s+=f(a); printf("%d\t",s);} s+=a...
【简答题】读程序一: 阅读下列程序,并把运行结果填写在 答题处。 #include int main() { int a[4][4]={{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}},b[4][4]; int i,j; for(i=0;i<4;i++) for(j=0;j<4;j++) b[j][3-i]=a[i][j]; for(i=0;i<4;i++){...
【简答题】Even if you really enjoy your job, it’s still possible to feel bored as you work. You may not be able to make big changes—or change your job—but you can make small adjustments. Here are some tips on h...
【简答题】阅读下列程序,并把运行结果填写在 答题处。 #include int main() { char dex[17]={"0123456789ABCDEF"}; int c[8],i,base=16; unsigned long n=346; i=0; printf("deci=%d\n",n); do{ c[i++]=n%base; n=n/base; }while(n); printf("hex=...
【简答题】阅读下列程序,并把运行结果填写在答题处。 #include int main() { int m=54,s=0; do { switch(m%7) { case 1:m/=2;s+=2; break; default:m--;s--; case 3: m%=3;s+=3;continue; case 5:m/=5;s+=5; } printf("%d %d\n",m,s); }while(s!...
【简答题】阅读下列程序,并把运行结果填写在79题答题处。 #include main() { int i,j,k,a,b=1,c=10; for(i=-1;i<3;i++) { a=i;b++; for(j=1;j<4;j++) { c+=a; for(k=0;k<=2;k++) b+=k;c++; } } printf("a=%d\nb=%d\nc=%d\n",a,b,c); }
【简答题】阅读下列程序,并把运行结果填写在 答题处。 #include int a=15; int fun(int b) { static int a=10; a+=++b; printf("a=%d,",a); return 0; } int main( ) { int c=20; fun(c); a+= - -c; { int a=10; fun(a); } fun(a); printf("a=%d...
【单选题】As you are students of English, it's very possible that you'll be interested in England. That's where the language was first spoken. But England is often called by other names. This often confuses peo...
A.
Britain
B.
England
C.
Great Britain
D.
Ireland
【单选题】It's possible for you to save costs if you send your two children to the same school.
A.
Y
B.
N
C.
NG
【单选题】You'd better leave , because it's dangerous here. [     ]
A.
as possible as you can
B.
as quick as possible
C.
as later as you can
D.
as soon as possible
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题