What are the debugging methods you use when came across a problem?
Answer / nakul kumar
Debugging with tools like :
GDB, DBG, Forte, Visual Studio.
Analyzing the Core dump.
Using tusc to trace the last system call before crash.
Putting Debug statements in the program source code.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is abstraction in c++?
What is using namespace std in c++?
Where and why do I have to put the "template" and "typename" keywords?
Is java as fast as c++?
Give an example of run-time polymorphism/virtual functions.
How does list r; differs from list r();?
What do you mean by pure virtual functions in C++? Give an example?
What is the use of typedef?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
What is flush () in c++?
What are the rules about using an underscore in a c++ identifier?