由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 请教几个C++问题
相关主题
c++ questionwhat is the difference?
[合集] 又学了一招怎么搞的?
*(&b1)=b编译不过,b1=b可以,区别是?a simple question about constructor
问个copy constructor的问题请叫一个 template class constructor 的问题
请教各路C++大神 为什么f(3) 输出是 'dd'问个c++问题
请教unique_ptr vs auto_ptrSynthesized Constructor到底什么意思?
one question about initializaiton listIs the order of initialization a, b, c or c, b, a?
请教个Bloomberg 的 C++ 题目一个c++ constructor的问题, thanks
相关话题的讨论汇总
话题: choice话题: variables话题: structure话题: object
进入Programming版参与讨论
1 (共1页)
p*********l
发帖数: 1
1
Please help on these multiple choices, explanation would be great.
1.
Which one of the following statements regarding constructors is FALSE?
Choice 1
A constructor allocates storage for all variables in the object's
structure.
Choice 2
A constructor cannot return a value.
Choice 3
A constructor should initialize all variables in the object's structure.
Choice 4
A constructor may be overloaded.
Choice 5
A copy constructor will be implicitly defined if one is not specified.
is
f******n
发帖数: 90
2
1st, 1 because it does not apply to static variables
2nd, 5
3rd, 3
1 (共1页)
进入Programming版参与讨论
相关主题
一个c++ constructor的问题, thanks请教各路C++大神 为什么f(3) 输出是 'dd'
question about Design Patterns请教unique_ptr vs auto_ptr
问个构造函数的问题one question about initializaiton list
菜鸟请教smart pointer请教个Bloomberg 的 C++ 题目
c++ questionwhat is the difference?
[合集] 又学了一招怎么搞的?
*(&b1)=b编译不过,b1=b可以,区别是?a simple question about constructor
问个copy constructor的问题请叫一个 template class constructor 的问题
相关话题的讨论汇总
话题: choice话题: variables话题: structure话题: object