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

Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

950

Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1466

What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

1002

Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

996

What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

971

What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

1203

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

2304

What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

909

Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

1007

Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

1096

Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

1009

What operator is used to access a struct through a pointer a) >> b) -> c) *

1053

True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

2310

What character terminates all character array strings a) b) . c) END

1204

If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

1317


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is singleton class in c++?

984


Define stacks. Provide an example where they are useful.

950


What is the error in the code below and how should it be corrected?

708


Does a derived class inherit or doesn't inherit?

1037


What does catch(…) mean?

1065


What is c++ hiding?

1113


Write a program to show polymorphism in C++?

1078


If dog is a friend of boy, is boy a friend of dog?

930


Explain the static storage classes in c++.

1194


Where and why do I have to put the "template" and "typename" keywords?

978


What are advantages of using friend classes?

1013


Does c++ cost money?

951


Write about the access privileges in c++ and also mention about its default access level?

1006


What are literals in C++?

978


What is else syntax in c++?

1119