Invitation to Authors

Interested in writing a book for us?


Please fill this form and get a chance to get published plus $200 bonus online coupon.


PayPal Logo
C++ Internals Interview Questions You\'ll Most Likely Be Asked
C++ Internals Interview Questions You'll Most Likely Be Asked

ISBN: 9781466172302

Price:   $19.95

Quantity :        
Book Description:

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
15. INDEX
 
 

Includes:

 

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 www.vibrantpublishers.com

 

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”?

Answer:

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

Example:

int *functn(){

...

}

main(){

int *a;

a=functn();

...

}

 

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

Answer:

Using “assignment operator”.

Example:

char my_var1= “style”;

string my_var2;

my_var2=my_var1;

 

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

Answer:

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.

Example:

int p=989;

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

 

 

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

Answer:

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

r=&k;

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

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

Answer:

Output:

Single pointer: 10

Double pointer: 10

 

 

Share

New Title Idea Submission

Got a fantastic New Title Idea but didn't find it in our catalogue?


Please fill this form and see your idea getting published. Also a chance to win $100 coupon.



Visitor Rating : 10/ 10 Based on 590 ratings.