C Programming and Technical

Q. Are pointers integer?

A. No, pointers are not integers. A pointer is an address. It is a positive number.

Read Solution (Total 0)

C Other Question

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
Q. What is static memory allocation?

A. Compiler allocates memory space for a declared variable. By using the address of operator, the reserved address is obtained and this address is assigned to a pointer variable. This way of assigning pointer value to a pointer variable at compilation time is known as static memory allocation.