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

1232

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

1482

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

1194

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

1241

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

1119

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

1199

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

1194

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

1072

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

1161

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

1264

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

1118

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

1137

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

1863

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

1222

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

1117


Un-Answered Questions { C++ }

Explain static and dynamic memory allocation with an example each.

1159


Can user-defined object be declared as static data member of another class?

1081


Explain the virtual inheritance in c++.

1122


What sorting algorithm does c++ use?

1203


What do you mean by delegate? Can a user retain delegates?

1003


How does a copy constructor differs from an overloaded assignment operator?

1086


What is stack unwinding?

1211


what is pre-processor in C++?

1229


Explain the volatile and mutable keywords.

1125


What is the real purpose of class – to export data?

1169


What does oop mean in snapchat?

1305


Can static member variables be private?

1247


What is wrapper class in c++?

1202


What does std :: flush do?

1199


What are the vectors in c++?

1101