click on this link......

LinkGrand.com

Tuesday, 18 December 2012

Meaning of different colors in C

In C program different colours are indicated for different meanings:
  1. White: These words  which belong to C langauge they appear in which, are called as keywords or reversed words. They are directly understood by compiler.
  2. Green: They are called as  Identifiers. They are not understood directly by compiler. But their defination is in header file. A header file is a file which contains defination of different functions. eg. stdio.h - standard input and output header files (printf and scanf). conio.h - Console input and output header files (getch(), return 0, clrscr()).
  3. Red: These are called as message. They are not understood by compiler. They are enclosed in double quotes.
  4. Yellow: These are called as seperators. eg. ; } )

No comments:

Post a Comment