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)
1002What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
971What 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
1203Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
1007Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
1009True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
2310If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
1317Post New C++ General Questions
What is singleton class in c++?
Define stacks. Provide an example where they are useful.
What is the error in the code below and how should it be corrected?
Does a derived class inherit or doesn't inherit?
What does catch(…) mean?
What is c++ hiding?
Write a program to show polymorphism in C++?
If dog is a friend of boy, is boy a friend of dog?
Explain the static storage classes in c++.
Where and why do I have to put the "template" and "typename" keywords?
What are advantages of using friend classes?
Does c++ cost money?
Write about the access privileges in c++ and also mention about its default access level?
What are literals in C++?
What is else syntax in c++?