C Programming and Technical

output?
What are the techniques you use for debugging?

A. (i)Using compiler's features
(ii)Read The Fine Module
(iii)printf( ) debugging
(iv)Code grinding
(v)Assertion

Read Solution (Total 0)

C Other Question

output?
Q. What is a pointer?

A. Pointer is a variable that contains address of another variable in the memory. Pointers are quite useful in creation of linked data structures (such as linked lst, trees graphs), managing object allocated memory dynamically, optimize the program to execute faster and use less memory.
output?
Q. What are macros? What are its advantages and disadvantages?

A. Macro is a Pre-processor.Major advantage of using the macro is to increase the speed of the execution of the program.
Major disadvantage of the macros are:
(i) No type checking is performed in macro. This may cause error.
(ii) A macro call may cause unexpected results