Keywords:

    auto      double    int      struct
    break     else      long     switch
    case      enum      register typedef
    char      extern    return   union
    const     float     short    unsigned
    continue  for       signed   void
    default   goto      sizeof   volatile
    do        if        static   while

Identifier:

    The name for a variable, function, etc.

Sample Identifiers:

    i0, j1, abc, stu_score, __st__, data_t, MAXOF, MINOF ...

Identifier Naming Style:

Rules for identifiers:

Types:

Range of Basic Types

    char           1 bytes -128 to 127
    unsigned char  1 bytes 0 to 255
    short          2 bytes -32768 to 32767
    unsigned short 2 bytes 0 to 65535
    int            4 bytes -2147483648 to 2147483647
    unsigned int   4 bytes 0 to 4294967295
    long           4 bytes -2147483648 to 2147483647
    unsigned long  4 bytes 0 to 4294967295
    float          4 bytes 1.175494e-38 to 3.402823e+38
    double         8 bytes 2.225074e-308 to 1.797693e+308

Sample Constants

    char           'A', 'B'
    int            123, -1, 2147483647, 040 (octal), 0xab (hexadecimal)
    unsigned int   123u, 2107433648, 040U (octal), 0X02 (hexadecimal)
    long           123L, 0x1FFFl (hexadecimal)
    unsigned long  123ul, 0777UL (octal)
    float          1.23F, 3.14e+0f
    double         1.23, 2.718281828
    long double    1.23L, 9.99E-9L

Strings or Character Arrays:

    char line[6]="ABCDE";
    char *s = "ABCDE";

    Representation:
'A' 'B' 'C' 'D' 'E' '\0'

Variables Declarations

Basic IO