Posts

Showing posts from April, 2024

Tokens in C

⋮ Mindvault360 Introduction to C Features of C Datatypes in C Variables Structure of C Program Compiling and Executing C Program Basic Program in C Tokens in C STORAGE CLASSES in C I/O FUNCTIONS IN C DYNAMIC MEMORY MANAGEMENT Error handling in C Pointers C   TOKENS : They are the smallest individual unit that we give in the program. They are  Keywords Identifiers Constants/literals Strings Operators Keywords : The meanings of keywords have been set as fixed and cannot be altered. In C, there are 32 keywords in all. Lowercase letters are used to write keywords. For example, int, double.   Identifiers identifiers are the names that the users provide to each element of the program.  It refers to the name of functions, variables and arrays. For the identifiers we follow the followings rules: An underscore or a letter must be the first character. It must be formed by underscor...