Search This Blog

Saturday, March 24, 2012

Directives in a Program


Directives in a Program

A directive is a special statement that can control the features of a compiler.
E.g.

a) #include <stdio.h>

provides a convenient way of telling the compiler that all the I/O functions have been included.

b) #include <math.h>

provides the standard math library.

c) #define

defines a symbolic name or a constant.

No comments:

Post a Comment