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

1177

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

1132

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

1102

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

1804

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


Post New C++ General Questions

Un-Answered Questions { C++ General }

What are the vectors in c++?

1033


Comment on assignment operator in c++.

1116


What do you mean by vtable and vptr in c++?

1043


What are literals in C++?

1026


Explain virtual class?

1031


Why do we use classes in programming?

1037


Will rust take over c++?

1060


Describe the advantages of operator overloading?

1048


What is main function in c++ with example?

1227


Why main function is special in c++?

1125


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

2226


Search for: what is pair in c++?

1121


Describe exception handling concept with an example?

1053


What is tellg () in c++?

1310


What is a tree in c++?

974