You are on page 1of 7

Contents.

HISTORY OF
Year
1960 1963

C.
Too general, too abstract Hard to learn ,different to implement Could deal with only specific problem Could deal only specific problem st e erality f BCP and B rest red

language
ALGOL CPL

Developed by Remark.
International committe Cambridge University Martin Richards at University Ken thomson at AT &T
DENNIS RITCHIE at &

1967

BCPL

1970 1972

Steps in learning
Alphabets Di its Special sy b ls. Constants variables ,keywords

c.

Instructions. Instructions

Program

character set. Alphabets A B Y , Z

Digits

0 ,1, 2 ,3 , 4, 5, 6, 7, 8, 9 ~!@#%^&*( )-_+={} []:; < > < , .? /

Special symblos

C constants ..

Primary constants

Secondary constants

Integer constants Real constants Character constants

Array Pointer Structure Union Enum etc..,

Rules for constructing INTEGER CONSTANTS..


An integer constant must have at least one digit. It must not have a decimal point.
It could be either +ve (or) ve .

If no sign includes let it to be +ve.(default opeator). The allowable ranges for integer constants is -32768 to +32768. Examples: 426 , -8000

You might also like