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

1118

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

1360

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

1072

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

1092

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

990

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

1098

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

1073

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

972

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

1053

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

1146

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

1004

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

1030

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

1756

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

1108

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

986


Post New C++ General Questions

Un-Answered Questions { C++ General }

Mention the purpose of istream class?

1062


Explain the difference between c++ and java.

1056


Which is best c++ or java?

1041


What does flush do c++?

1016


What are disadvantages of pointers?

985


Does dev c++ support c++ 11?

963


What is a modifier in c++?

1079


Explain public, protected, private in c++?

958


What is data binding in c++?

903


What is a type library?

1062


What are c++ templates used for?

1081


Explain the difference between realloc() and free() in c++?

960


What is difference between malloc()/free() and new/delete?

1115


Why is "using namespace std;" considered bad practice?

1037


What is ctime c++?

1061