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++ General Interview Questions
Questions Answers Views Company eMail

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

1217

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

1468

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

1190

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

1225

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

1108

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

1189

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

1184

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

1068

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

1152

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

1258

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

1107

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

1132

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

1856

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

1213

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

1110


Post New C++ General Questions

Un-Answered Questions { C++ General }

Do vectors start at 0?

1044


Write a program which uses Command Line Arguments

1232


How do you traverse a btree in backward in-order?

1095


Is c++ a low level language?

1019


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1074


How a pointer differs from a reference?

1387


Are c and c++ different?

1029


How the keyword struct is different from the keyword class in c++?

1086


List the types of polymorphism in c++?

1151


What's the most powerful programming language?

1094


How do you establish a has-a relationship?

1169


Is it possible to provide special behavior for one instance of a template but not for other instances?

1172


When you overload member functions, in what ways must they differ?

1104


How did c++ start?

1151


How does atoi function work?

1178