Sunday, 6 May 2012

INTRODUCTION TO C PROGRAM, FIRST C PROGRAM, HOW TO START C PROGRAM, BASIC COMMANDS OF C PROGRAM, FUNCTIONS OF C PROGRAM, BASIC SYMBOLS IN C LANGUAGE

#include<stdio.h>   WHAT IS THE MEANING OF # IN C;

What is the Meaning of Hash # in Turbo C, C, Turbo C3, Turbo C2 etc.

example  :       #include<stdio.h>
or Question :  What is  #include<stdio.h> ?


Answer :
#    - it indicates a pre-processor command
     - The first line of the program contains a
       preprocessing directive, indicated by
       #include. This causes the compiler to
       replace that line with the entire text
       of the stdio.h standard header, which
       contains declarations for standard input
       and output functions such as printf.
       The angle brackets surrounding stdio.h
       indicate that stdio.h is located using
       a search strategy that prefers standard
       headers to other headers having the
       same name. (Double quotes are used to
       include local or project-specific
       header files.)

No comments:

Post a Comment