Sunday 11 January 2009

What is file inclusion directive or #include directive in c programming language?

Answer: Syntax: #include or #include “filename.h”   This directive treats has included in the current file i.e. in current file also contain data of the file which has included by #include directive. e.g. First create a file of file name cube.h which contains:   int cube ( int a) { int b; b=(a)*(a)*(a); return b; }   Now create any another c file let math.c which

No comments:

Post a Comment