Saturday, 31 March 2018

Character Set, Keywords and Identifiers

Character Set
  The character set in C language can be grouped into the following categories.
   1. Letters
   2. Digits
   3. Special characters
   4. White spaces

White spaces are ignored by the compiler until they are a part of string constant.White space may be used to separate words, but are strictly prohibited while using between characters of keywords or identifiers.

C Character-set table

Special Characters

Keywords and Identifiers
  Every word in C language is a keyword or an identifier. Keywords in C language cannot be used as a variable name. They are specifically used by the compiler for own purpose and they serve as building blocks of a C program.
The following are the keyword set of C language.

Some compilers may have additional keywords.
Identifiers refers to the name of user-defined variables, array and functions. A variables should be essentially a sequence of letters and or digits and the variable name should begin with a character.
  Both uppercase and lowercase letters letters are permitted. The underscore character is also permitted in identifiers.


Post a Comment

Codecademy Code Foundations

Popular Posts


Android (23) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (12) C++ (81) Course (1) Data Strucures (4) Downloads (1) Engineering (13) flutter (1) FPL (17) Hadoop (1) HTML&CSS (38) IS (25) Java (89) Leet Code (4) Pandas (1) PHP (20) Projects (17) Python (376) R (69) Selenium Webdriver (2) Software (14) SQL (27)