Documente Academic
Documente Profesional
Documente Cultură
MCQ Test
Monday, June 24, 2013 Followers
Follow
B: A shallow copy just copies the values of the data as they are.
► May (17)
Right Answer: B
Popular Posts
Que.3 . Which of the following below can perform conversions between pointers to related classes?
Software Testing MCQ Test – 1
Que.1. Defects are less costly if detected in
which of the following phases A. Coding B.
Design C. Requirements Gathering D. Im...
A: cast_static
CSS MCQ Test – 1
B: dynamic_cast Que.1. A navigation bar needs standard HTML
as a base A. True B. False Right Answer: A
C: static_cast Que.2. The ____________ selector is used to
sp...
D: cast_dynamic JavaScript MCQ Test - 1
Que.1. What is the purpose of <noscript> tag in
Java Script? A. Prevents scripts on the page
from executing. B. Enclo...
Right Answer: C Software Engineering MCQ Test – 1
Que.1. What are KPAs and how many KPAs
should be satisfied for a company to achieve
CMMLs A. Key project areas,17 B. Key
Que.4 . Can #define accept parameters? project area...
Google+ Followers
Que.6 . How do we define a destructor?
Vyas Hemal
Add to circles
A: X~() {}
B: X() {}~
C: X() ~{}
D: ~X() {}
Right Answer: D
A: Storage
B: Virtual About Me
C: Friend
Vyas Hemal
Follow 54
D: Wrapper
View my complete profile
Right Answer: D
https://mcqtestanswers.blogspot.com/2013/06/c-mcq-test-2.html 2/6
1/20/2018 MCQ Test: C++ MCQ Test - 2
A: No
B: Yes
Right Answer: B
A: Constant expressions
B: Macro expressions
C: Both a and b
D: All expressions
Right Answer: C
A: Private
B: Public
C: Protected
D: Needs to be assigned
Right Answer: A
Que.11 . Which type of casting can be used only with pointers and references to objects?
A: Dynamic_cast
B: cast
C: Static_cast
D: Pointer_Cast
Right Answer: A
A: Input Iterator
B: Backward Iterator
https://mcqtestanswers.blogspot.com/2013/06/c-mcq-test-2.html 3/6
1/20/2018 MCQ Test: C++ MCQ Test - 2
C: Forward Iterator
Right Answer: D
A: std::bad_creat
B: std::bad_alloc
C: std::bad_cast
D: std::bad_typeid
Right Answer: A
Que.14 . Every class has at least one constructor function, even when none is declared.
A: True
B: False
Right Answer: A
Que.15 . Which of the following is not a valid conditional inclusions in preprocessor directives
A: #ifdef
B: #ifundef
C: #endif
D: #elif
Right Answer: B
Que.16 . In C++ two different functions can have the same name if their parameter types are same.
A: True
B: False
Right Answer: B
Que.17 . Which of the following operators below allow to define the member functions of a class
outside the class?
A: ::
B: ?
C: :?
D: %
https://mcqtestanswers.blogspot.com/2013/06/c-mcq-test-2.html 4/6
1/20/2018 MCQ Test: C++ MCQ Test - 2
Right Answer: A
A: Run time
B: Compile time
Right Answer: B
Que.19 . For which type of class private and protected members of the class can be accessed from
outside the same class in which they are declared
B: Friend
C: Static
D: Virtual
Right Answer: B
D: Both a and b
Right Answer: D
No comments:
Post a Comment
https://mcqtestanswers.blogspot.com/2013/06/c-mcq-test-2.html 5/6
1/20/2018 MCQ Test: C++ MCQ Test - 2
https://mcqtestanswers.blogspot.com/2013/06/c-mcq-test-2.html 6/6