C++ Interview Questions
Questions Answers Views Company eMail

What is C++11?

Adobe,

638

What is latest update of C++ ?

Adobe,

565

Discuss about iteration statements in C++ .

Agilent,

536

In C++ what is a vtable and how does it work?

Agilent,

600

What is a memory leak in C++?

Agilent,

563

Difference between Call by pointer and by reference.

Adobe,

539

How does stack look in function calls? When does stack overflow? What can you do to remedy it?

Adobe,

532

How does stack look in function calls? Write a recursive function call, how will the stack look like?

Adobe,

544

How will you execute a stack using a priority queue? (Push and pop should be in O (1)).

Adobe,

575

How will you print a list of all unique words from a string which may contain repeated words?

Adobe,

533

Implement a 2D bit-matrix representing monochrome pixels which will have only OFF/ON values and will take on an average only one bit of memory for each stored bit. How to perform various operations on it?

Adobe,

585

What do you know about Volatile keyword in C++? Explain with an example code.

Adobe,

535

What is meant by exit controlled loop?

Adobe,

542

What is the meaning of the following declaration: int *const *const *i?

Adobe,

552

Do you know about Agilent PRECOMPILERS. ?

Agilent,

593


Un-Answered Questions { C++ }

Define type casting in C++.

633


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

537


What is the difference between function overloading and operator overloading?

567


What are enumerations?

647


How should a contructor handle a failure?

673






Explain the different access specifiers for the class member in c++.

535


What is the difference between strcpy() and strncpy()?

602


What are the types of pointer?

542


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

3421


Can we use pointers in c++?

602


What are the two different types of polymorphism?

664


What is abstraction and encapsulation?

563


What is a pdb file?

531


What are special characters c++?

555


What is runtime errors c++?

562