Wednesday, April 14, 2010

DIFFERENCE BETWEEN IDENTIFIER AND KEYWORD

Identifier
keyword
Identifiers are names that are given to various program elements, such as variable, function and arrays.
C take some reserved word called keyword, they have predefine meaning in C.
Identifiers consist of letters and digits.
Keyword consist only letter.
Identifier’s first character must be a letter.
Keyword’s all character is letter.
Identifiers Upper and lowercase letter is use.
Keywords are all lowercase.
Upper and lowercase are not equivalent.
Upper and lowercase are also not equivalent.
Like: X, sum_5, _weather etc.
But 4th is not identifier cause identifier first character must a letter.
Like: auto, short, long etc.

17 comments em “DIFFERENCE BETWEEN IDENTIFIER AND KEYWORD”

Post a Comment

Give your valuable Comment...

 

Programming, Data Structures & Algorithms Copyright © 2011 -- Template created by JAK -- Powered by Blogger