How can you specify a class in C++?
what is the use of void main() in C++ language?
what are Access specifiers in C++ class? What are the types?
what is a reference variable in C++?
Explain about templates of C++.
What is different in C++, compare with unix?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
Discussion on error handling of C++ .
What are the unique features of C++.
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
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)
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
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