Object Oriented Programming using C++ Questions and Answers – String Class

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “String Class”. 1. Which is a true statement for object of String class? a) Object are immutable b) Object are mutable c) Object are created only once d) Object can’t be created 2. How to declare an object … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – IO Class

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “IO Class”. 1. What is the use of IO class? a) To handle all the input operations b) To handle all the output operations c) To handle all the input and output operations d) To handle all the … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Inbuilt Classes

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “Inbuilt Classes”. 1. What are inbuilt classes? a) The predefined classes in a language b) The classes that are defined by the user c) The classes which are meant to be modified by the user d) The classes … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Extern Variable

This set of Object Oriented Programming using C++ Questions and Answers for Campus interviews focuses on “Extern Variable”. 1. What is extern variable? a) Variables to be used that are declared in another object file b) Variables to be used that are declared in another source file c) Variables to be used that are declared … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Automatic Variable

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “Automatic Variable”. 1. What are automatic variables? a) Global variables b) Implicit/temporary variables c) Local variables d) System variables 2. The memory for automatic variables ___________________ a) Have to be allocated and deallocated explicitly b) Are allocated and … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Delete Operator

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “Delete Operator”. 1. What is a delete operator? a) Deallocates a block of memory b) Deallocates whole program memory c) Deallocates only primitive data memory d) Deallocates all the data reserved for a class 2. If an object … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – New Operator

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “New Operator”. 1. What is the new operator? a) Allocates memory for an object or array b) Allocates memory for an object or array and returns a particular pointer c) Used as return type when an object is … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Downcasting

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “Downcasting”. 1. What is downcasting? a) Casting subtype to supertype b) Casting supertype to subtype c) Casting subtype to supertype and vice versa d) Casting anytype to any other type 2. Which among the following is a mandatory … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Upcasting

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “Upcasting”. 1. What is upcasting? a) Casting subtype to supertype b) Casting super type to subtype c) Casting subtype to super type and vice versa d) Casting anytype to any other type 2. Which among the following is … Read more

advertisement

Object Oriented Programming using C++ Questions and Answers – Constructors Overloading

This set of Object Oriented Programming (OOPs) using C++ Multiple Choice Questions & Answers (MCQs) focuses on “Constructors Overloading”. 1. Which among the following is true for constructors overloading? a) Constructors can’t be overloaded b) Constructors can be overloaded using different signatures c) Constructors can be overloaded with same signatures d) Constructors can be overloaded … Read more

advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Youtube | Instagram | Facebook | Twitter