C Programming and Technical Logical Reasoning Letter Series

Q. In header files whether functions are declared or defined?

A. Functions are declared within header file. That is function prototypes exist in a header file,not function bodies. They are defined in library (lib).

Read Solution (Total 1)

C Other Question

Q. What are the uses of a pointer?

A.
(i)It is used to access array elements
(ii)It is used for dynamic memory allocation.
(iii)It is used in Call by reference
(iv)It is used in data structures like trees, graph, linked list etc.
In which stage the following code

#include
gets replaced by the contents of the file stdio.h

Options
1) During editing
2) During linking
3) During execution
4) During preprocessing