单项选择题
下列关于动态联编的描述中,错误的是( )。
A.动态联编是以虚函数为基础的
B.动态联编是在运行时确定所调用的函数代码的
C.动态联编调用函数操作是指向对象的指针或对象引用
D.动态联编是在编译时确定操作函数的
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
下面程序的输出结果是( )。 #include <iostream> using namespace std; void main() int s; for(int k=2;k<6;k+=2) s=1; for(int j=k;j<6;j++) s+=j; cout<<s<<endl;
A.9
B.1
C.11
D.10
点击查看答案
单项选择题
有如下程序: #include <iostream> using namespace std; int main() int a[6]=23,15,64,33,40,58; int s1,s2; s1=s2=a[0]; for(int *p=a+1;p<a+6;p++) if(s1>*p) s1=*p; if(s2<*p) s2=*p; cout<<s1+s2<<endl; return 0; 运行时的输出结果是( )。
A.23
B.58
C.79
D.64
点击查看答案
相关试题
设有如下程序: #include <iostream.h...
有如下程序: #include <iostream> u...
有如下的程序: #include <cstring.h...
若有以下程序: #include <iostream>...
以下程序的输出结果是( )。 #include...