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

Is there any error below, its a code to delete all entires from a map #include #include iostream.h int main() { int i =0; map TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

2439

program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number

Anna University,

1 8561

why all c++ program must have default constructor?

IBM,

6 11639

20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?

IonIdea,

5 13823

in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C

IonIdea,

1 5833

monkey starts climbing up a tree 20ft tall,each hour ,it hops 3ft and slips back by 2ft .how much time it wil tak to reach top of the tree?

IonIdea,

13 45770

design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }

HSBC,

1 4750

design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }

2061

write a program that a 5 digit number and calculates 2 power that number and prints it.

Vimukti Technologies,

2 5341

What are the valid types of data that the main () can return in C/C++ language

3 7808

What are the general quetions are in DEna bank manager IT/System interviews?

Dena Bank, ICICI,

2071

Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2689

method overloading means what?

CTS,

2 5881

Child cObj = new Parent() Wahts the output ?

Patni, TCS,

8 19908

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

CTS,

2634


Un-Answered Questions { C++ }

Is vector a class in c++?

1103


How do you save a c++ program?

1086


When should I use unitbuf flag?

1073


What does it mean to declare a member variable as static?

1121


If a header file is included twice by mistake in the program, will it give any error?

1119


What is a constructor in c++ with example?

1188


Differentiate between an external iterator and an internal iterator?

1055


How delete [] is different from delete?

1056


What is class and object in oops?

1218


What is virtual methods?

1179


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

1069


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2689


What are the uses of typedef in a program?

1137


Which of the following is evaluated first: a) && b) || c) !

2425


What is ios in c++?

1269