Advanced C++ Interview Questions You'll Most Likely Be Asked

5 of 5 Stars!

Price: $19.95


C++ Internals Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.


Table of Contents
1. General Concepts
2. Control Statements and Decision Making
3. Functions and Recursion
4. Arrays and Vectors
5. Pointers
6. Control Structures, Array and Pointers
7. Object Oriented Programming and Classes
8. Inheritance, Polymorphism and Virtual Functions
9. Exceptions and Exception Handling
10. Class Template and Standard Template Library (STL)
11. Functions, Class and Template
12. Stream Input Output
13. File Processing
14. HR Questions



a) 250 C++ Internals Interview Questions, Answers and Proven Strategies for getting hired as an IT professional

b) Dozens of examples to respond to interview questions

c) 51 HR Questions with Answers and Proven strategies to give specific, impressive, answers that help nail the interviews

d) 2 Aptitude Tests download available on


Sample from the book
(Below Questions and Answers are randomly taken from different pages of the book)

110: How will you return an array from a “function”?


Using Pointer. A function returning array should be declared as returning pointer.


int *functn(){




int *a;





113: How will you convert the char array into a string?


Using “assignment operator”.


char my_var1= “style”;

string my_var2;



114: How will you get the address of a variable?


Using ‘reference operator’(&). On declaring a variable, memory needed for that variable will be allocated with respect to its length. Address of memory is randomly assigned by the operating system at run time.


int p=989;

int q=&p; //address of p gets stored in q



123: What is the function of “ *k++ ” and “ (*k)++ ” ?


a) *k++ ‘++’ has higher precedence than ‘*’. Hence ‘k’ gets incremented and points to the next element and returns the value pointed by ‘k’ before incrementation

b) (*k)++ Value pointed by ‘k’ is incremented


124: What is the output of following code?

int aa=10; //&aa=1111

int *k;

int **r;

k=&aa; //&k=2222


cout << “Single pointer:” << *k<<endl;

cout << “Double pointer:” << **r;



Single pointer: 10

Double pointer: 10