0% found this document useful (0 votes)
2 views

C++ interview question

The document contains a comprehensive list of questions related to C++ programming, covering its features, differences from C, object-oriented programming principles, and various concepts such as polymorphism, constructors, inheritance, operator overloading, and file handling. It also addresses advanced topics like templates, pointers, and command line arguments. Overall, it serves as a guide for understanding C++ and its functionalities.

Uploaded by

komalpise22
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

C++ interview question

The document contains a comprehensive list of questions related to C++ programming, covering its features, differences from C, object-oriented programming principles, and various concepts such as polymorphism, constructors, inheritance, operator overloading, and file handling. It also addresses advanced topics like templates, pointers, and command line arguments. Overall, it serves as a guide for understanding C++ and its functionalities.

Uploaded by

komalpise22
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

/*

what is the c++ ?


what are the advance feature in c++ as compare with c ?
what is the diff between c and c++ ?
advantages of c++ ?
explain the four pillars of OOP ?
explain the polymorphism and its type ?
what is the compile time polymorphism ?
what is the run time polymorphism ?
what is the function overloading ?
what is the function overriding ?
what is the new and delete operator in c++ explain with example ?
what is the class ?
why use the class and its benifit ?
what is the access specifier and its type in c++ ?
what is the diff between public,private and protected access specifier ?
what is the constructor and why use it ?
explain the types of constructor in c++
what is the copy constructor with suitable example ?
what is the inline function in c++ and what is the benifit of inline function ?
what is the friend function and why use it ?
what is the inheritence and explain the all types of inheritence with suitable
example ?
what is the virtual function and why use it ?
how to create the abstract class in c++ ?
what is the base class constructor in c++ ?
what is the use of scope resolution operator in c++ ?
how to create the pointer of array in c++?
explain the base class pointer concept in c++ ?
explain the dynamic polymorphism in c++?
explain the hybrid inheritence and its problem ?
what is the virtual class in c++?
how to solve the ambiguity in hybrid inheritence ?
how to solve the ambiguit in multiple inheritence using c++ ?
what is the use of static keyword in c++ with suitable code example ?
what is the static function explain with suitable example in c++?
what is the use of operator overloading in c++ ?
types of operator like as unary ,binary and ternary ?
how to overload the unary operator using member function ?
how to overload the binary operator using member function ?
how to overload the binary operator using friend function ?
rules of operator overloading ?
which operator not overloaded by c++ ?
what is the file handling?
why use the file handling ?
what is the benifit of file handling ?
how to open the file using c++ ?
how to open the file using constructor in c++ ?
how to open the file using open() function in c++?
how to write the data in file c++?
how to read the file in c++ ?
explain the all file handling mode in c++?
what is the command line argument and why use it ?
how to write the class object in file in c++ ?
how to read the class object from file in c++?
what is the template and why use it ?
what is the use of template?
what is the pointer and its type ?
how to pass the array to the function in c++?
what is the default argumented function in c++?

You might also like