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 |
Difference between inline functions and macros?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
What is format for defining a structure?
Explain about vectors in c ++?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
Can you sort a set c++?
Which format specifier is used for printing a pointer value?
When are exception objects created?
How do you find out if a linked-list has an end?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
Name the debugging methods that are used to solve problems?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300