GeekInterview.com
  I am new, Sign me up!
 

C++ Interview Questions


C++ Interview Questions

Questions: 203
Comments: 914
 Showing Questions 91-100 of 203 Questions
<< Previous 6 7 8 9 [10] 11 12 13 14 15 Next >>
 Sponsored Links

 
 C++ Interview Questions
Sorting Options :  

Latest Answer: If we are working with multiple inheritance, it is always better to make the base class as virtual inorder to avoid the multiple copies of the base class data. :) ...
Read Answers (4) | Asked by : snehasish banerjee

Latest Answer: Escaping variable uses when you want to break loop.int flag = 1; //flag is an escaping variablefor(...){ for(...) { flag = 1; ... if(..) { flag = 0; break; } } if(flag==0) break;} ...

Class X{X(){}X(X &obj){} // supose '=' operator is also overloaded for this class. I am not writing code for that }main(){X a;X b = a;X c(&a);X d;d = a;}What is the difference between a, b, c, d objects ?

Latest Answer: node*GetNthFromEnd(node* pHead, int n) {    if ( ! pHead )      return NULL;    int i = 0;    node* p = pHead;    node* pnth = pHead;    while (p) {   ...

Suppose there is a txt file with following format:Student name Grades in subjectsX ABA+CDA+Y B+CAA+AAthere can be many students with there grades in various subjects. (number of subjects are unknown)Possible values of grade are: A, A+, B, B+, C, D now suppose the file gets corrupted and all '+' are replaced by 'A'Write a program to restore the file
Tags : Restore

Write a program to dynamically create a matrix( no of rows and columns wud be provided by user at run time). Then ask a user to input elements and the nprint those elements.

Under which conditions compiler provide default constructor to an object when no default constructor is defined in the class definition?
Read Answers (4) | Asked by : Ashish

Latest Answer: Less than or equal to those mentioned in the prototype.Less when default arguments are also provided in prototype. ...
Read Answers (8) | Asked by : bharat biswal

Latest Answer: There was little error in the code in my  previous answer. We have to define a public static member function for this purpose. Here is the codeclass sample{sample* p;sample();public:static sample genObject();};sample* sample::genObject(){p=new ...
Read Answers (14) | Asked by : elizabeth

Design a class for car inventory . For every new car from the manufacturer there should be minimal changes to the code.
Read Answers (1) | Asked by : yathrika

View page << Previous 6 7 8 9 [10] 11 12 13 14 15 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape