STL (140)
OOPS (873)
C++ General (2409) 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)
1014What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
995What 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
1221Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
1027Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
1020True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
2334If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
1332
What is size of string in c++?
Implement stack operations with pointers with appropriate exception checks.
What does ctime() do?
Why multiple inheritance is not possible?
Is python better than c++?
What are c++ storage classes?
Is java easier than c++?
What is else syntax in c++?
Why do we use pointers in c++?
Explain what happens when a pointer is deleted twice?
What is a base class?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
What is abstraction in oops?
Is there structure in c++?
Differentiate between late binding and early binding. What are the advantages of early binding?