What are the techniques you use for debugging?
Answer Posted / chaitanya raj budumuru
By pressing F8 key then there's a window appears and there
we have to write all the variables that we had used so far
in the programme and press enter then the initial values of
those variables taken as garbage if the variable not
assigned any value or the assigned value will be displayed
at bottom of the code seperated by a line.
By pressing F8 Key continuesly debugging will be
happened and somme times output screen also will appear and
the values of variables also changed according to the logic.
This is the debugging process in c++ as well as c also.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Write about the role of c++ in the tradeoff of safety vs. Usability?
What are the two types of comments, and how do they differ?
What is recursion?
What is problem with overriding functions?
State the difference between delete and delete[].
What is the difference between an enumeration and a set of pre-processor # defines?
Describe linkages and types of linkages?
Can create new c++ operators?
What is a local variable?
What are the four main data types?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Can we specify variable field width in a scanf() format string? If possible how?
What is endianness?
Explain the difference between static and dynamic binding of functions?
Write about a nested class and mention its use?