Interview Questions on Singletone Classes in C++ : 2
Question: 1
(A) Both pointers hold same object
(B) They don't hold same object
(C) Compilation Error
(D) Exception occured
Compiler
Practitioner singleton[Posted by: Admin | Chicago, USA]
Question: 2
Compiler
Practitioner singleton[Posted by: Admin | Chicago, USA]
C++ Online Test
Compile C++ code here
Browse C++ Categories
Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++11 C++17 C++20 Time & Space Complexity othersSwitch to C Questions