Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



C++ Interview Questions
Questions Answers Views Company eMail

What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1179

Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be

1419

What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

1136

What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

1154

Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

1049

What do nonglobal variables default to a) auto b) register c) static

1157

Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

1135

What is the outcome of cout< a) 16 b) 17 c) 16.5

1019

What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

1103

Evaluate !(1&&1||1&&0) a) Error b) False c) True

1210

What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1056

Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

1079

which of the following is not an secondary constant a) array b) real c) union

1806

an operation between an integer and real always yeilds a) integer result b) real result c) float result

1155

which operator is used for performing an exponential operation a) > b) ^ c) none

1064


Un-Answered Questions { C++ }

write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2243


What is meant by exit controlled loop?

1049


Is map ordered c++?

1098


What is the role of C++ shorthand's?

1283


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

1017


What is the difference between equal to (==) and assignment operator (=)?

1079


What is the important feature of inheritance?

1143


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

987


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

1067


Why ctype h is used in c++?

963


How can you specify a class in C++?

1295


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

972


Why use of template is better than a base class?

1188


What is stl stand for?

1236


How many types of comments are there in c++?

989