Which compiling option can generate symbolic debug information for debuggers?

Việt Quân

New member
Which compiling option can generate symbolic debug information for debuggers?
A. -c
B. -p
C. -f
D. -g
 
Answer: d
Explanation: The -g generates the symbolic debug information for the debuggers. Without this, the debugger cannot print the variable values, it can only work at the assembler level. The symbolic information is passed through the compilation process and stored in the executable file.
 

Tìm kiếm

Back
Top