C Control StatementsC FunctionsC ArrayC PointerC Dynamic MemoryC StringC MathC StructureC UnionC File HandlingC PreprocessorC Command LineC Misc |
Identifiers in cC identifiers , All the words we will use in the C language will be either keywords or identifiers. The keywords are predefined words that cannot changed by the users and C Identifiers are user defined words and are use to give names to entities like variables, functions, array, structures, union etc. Rules for Naming identifiers giving—- C identifiers represent the name in the C language, for example, functions, arrays, structures variables, labels unions, etc. it is a composed of letters such as lowercase, uppercase letters, digits and underscore, but the starting letter should be either an alphabet or an underscore not the any digit. If identifiers not used in the external linkage, then it is known as an internal identifier. and whenever the identifier is used in the external linkage, then it is known as an external identifier. —The Rules for Naming C Identifiers are giving below- (1)The name should consist of only uppercase. lowercase, digits and underscore(_). Some valid Identifiers examples are number Amount_pay reg1 _data AVERAGE Some Invalid Identifiers examples are- 6number int reg# 4data AVERAGE no Difference between C Identifiers and keywords-
|