C++ Interview Questions
Questions Answers Views Company eMail

What is polymorphism & list its types in c++?

606

Explain the difference between realloc() and free() in c++?

521

What do you mean by “this” pointer?

602

What do you mean by friend class & friend function in c++?

609

Explain the difference between abstract class and interface in c++?

511

explain the reference variable in c++?

558

What is the latest version on c++?

671

What are different types of loops in c++?

640

What do you mean by overhead in c++?

561

List the types of polymorphism in c++?

611

What do you mean by public protected and private in c++?

591

What is constructor and destructor in c++?

607

what is oops and list its features in c++?

534

What is c++ & why it is used?

574

What do you mean by function overriding & function overloading in c++?

594


Un-Answered Questions { C++ }

When do you call copy constructors?

634


what does the following statement mean? int (*a)[4]

604


What is encapsulation in simple terms?

526


What are inline functions? What is the syntax for defining an inline function?

564


How would you find out if a linked-list is a cycle or not?

533






Explain the concept of memory leak?

609


What does asterisk mean in c++?

572


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2185


What is the use of main function in c++?

512


Which is best ide for c++?

558


Can I run c program in turbo c++?

568


What is private, public and protected inheritance?

579


What is decltype c++?

547


How the keyword struct is different from the keyword class in c++?

569


write knight tour problem which is present in datastructure

2154