Read Aloud the Text Content
This audio was created by Woord's Text to Speech service by content creators from all around the world.
Text Content or SSML code:
What are the Identifiers? Identifiers are user-defined words used to name various entities like variables, arrays, functions, structures, etc. In another word, it is a name given to a specific entity used in the program for identification purposes. Not only in C language. but the identifiers are also used in all programming languages. There are a set of rules for naming the identifiers, which are: 1) the name should only consist of alphabets ( upper and lower case), digits, and the underscore (_) sign. 2) the First characters should be an alphabet or underscore. For example: If my identifier consists of the letter A and the digit 7, then it should be written as A7, because writing it as 7A is violating the rule, and it is considered an error. Also, if an identifier consists of r, 1, and an underscore. Then, R1_ is a valid identifier _R1 is a valid identifier R_1 is also a valid identifier Bur 1_r is not (since the digit cannot be before the alphabet and the underscore) 3) it should not be a keyword in this section a PDF document is available, where a list of all C language identifiers is given, please have a look at it. for example: ‘for’ is a C language keyword, that's why it an invalid identifier. and all the identifiers available in the list can’t be used as identifiers. 4 ) the Identifier’s name must be unique, so it cannot be only digits (but it can contain only alphabets). 5) Identifiers would not allow any special symbol except the underscore. So, the symbols like (@, *, or ?) are not allowed. 6) It must not contain white spaces.so, any white space between the letters leads to an invalid identifier. 7) An identifier can be of any length while most compilers of the ‘C’ language recognize only the first 8 characters. (so the identifier should consist of eight or fewer characters) for example: AAaa Ab22 RRRR_909