C++ General Interview Questions
Questions Answers Views Company eMail

What do you mean by C++ access specifiers ?

1 529

What are the basics concepts of OOPS?

1 479

What is the use of volatile keyword in c++? Give an example.

1 463

In how many ways we can initialize an int variable in C++?

1 567

What are C++ inline functions?

1 528

What do you mean by internal linking and external linking in c++?

1 724

How many storage classes are available in C++?

1 635

What is 'Copy Constructor' and when it is called?

1 568

What is realloc() and free()? What is difference between them?

1 481

What is difference between shallow copy and deep copy? Which is default?

1 489

What are virtual functions and what is its use?

1 504

What do you mean by pure virtual functions in C++? Give an example?

1 561

How to create a pure virtual function?

1 707

Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?

1 506

What is virtual destructors? Why they are used?

1 481


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is lambda expression c++?

541


Can we delete this pointer in c++?

648


How a modifier is similar to mutator?

599


Which format specifier is used for printing a pointer value?

540


How is modularity introduced in C++?

734






Explain the difference between overloading and overriding?

580


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

584


What's the order in which the objects in an array are destructed?

807


What do you mean by late binding?

586


How do you differentiate between overloading the prefix and postfix increments?

556


What is the use of setfill in c++?

555


What do you mean by a template?

587


What is the full name of logo?

562


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

601


What is the copy-and-swap idiom?

578