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)
1055What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
1034What 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
1275Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
1082Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
1057True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
2388If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
1378
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
What is time h in c++?
Is it possible to get the source code back from binary file?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is the use of class in c++?
Advantage and disadvantage of routing in telecom sector
What is a standard template library (stl)? What are the various types of stl containers?
Are c and c++ different?
Can I create my own functions in c++?
How would you implement a substr() function that extracts a sub string from a given string?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What are classes oop?
What is constructor in oop?
How to use CMutex, CSemaphore in VC++ MFC
what are function pointers?