首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
有如下类声明: class MyClass { int i; private: int j; protected: int k; public: int m, n; }; 其中,私有成员的数量为______。
有如下类声明: class MyClass { int i; private: int j; protected: int k; public: int m, n; }; 其中,私有成员的数量为______。
admin
2013-02-27
18
问题
有如下类声明:
class MyClass
{
int i;
private: int j;
protected: int k;
public: int m, n;
};
其中,私有成员的数量为______。
选项
答案
2
解析
转载请注明原文地址:https://kaotiyun.com/show/sENp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有以下程序:#include<stdio.h>#include<stdlib.h>voidfun(int**s,intp[2][3]){**s=p[1][1];}main(){
有以下函数:intfun(char*p,char*q){while((*p!=’\0’)&&(*q!=’\0’)&&(*p==*q)){p++;q++;}return(*p-*q
有以下程序:#include<stdio.h>charfun(charch){if(ch>=’A’&&ch<=’Z’)ch=ch-’A’+’a’;returnch;}
给定程序MODl1.C中函数fun的功能:将一个十进制整数n转换成r(二~十六)进制形式。示例如下。输入12516,则输出:7D输入92,则输出:1001请改正程序中的错误,使它能得出正确的结果。
有下列程序:#include<stdio.h>main(){charb[]=”happychristmas”,k;for(k=0;b[k];k++){i
有一种只在循环语句或switch语句中使用的流程控制语句,表示该语句的关键字是【】。
关于内联函数的说法,不正确的是()。
评价一个算法时间性能的主要标准是算法的【】复杂度。
设有a、b、c、d、m、n均为int型变量,且a=5、b=6、c=7、d=8、m=2、n=2,则逻辑表达式(m=a>b)&&(n=c>d)运算后,n的值为()。
下面不属于软件设计原则的是
随机试题
哌唑嗪的降压作用主要是长压定的降压作用主要是
当规划用地内的人口界于小区和居住区之间时,其配套公建的规模,以下哪项正确?[2000-81]
某多年冻土地区一层粉质黏土,塑限含水量ωP=18.2%,总含水量ω0=26.8%,平均融沉系数δ0=5,请判别其融沉类别是下列选项中的哪个?()
金融期货的主要交易制度有()。
证券公司融资融券业务的风险包括( )等。
个人贷款产品有不同的还款方式供借款人选择,其中,可以比较灵活地按照借款人的还款能力规划还款进度,满足个性化需求程度最高的还款方式是()。
北京史家胡同小学开展“小博士”工程,利用课余时间,少则两周,多则三四个月,自己研究探索一个专题或完成一部童话作品。此活动的开展体现了()。
我国现代学校产生于()
【T1】Man’spreoccupationwithtimederivesultimatelyfromhisuniquerelationshiptoit.Allanimalsarechangedbyit.Butonly
Requestsforpaternitytests(亲子鉴定)byChinesemen______(increase)inrecentyears.
最新回复
(
0
)