C Fundamentals |
|
Learning any language starts with leaning the alphabets,words,grammer and then sentinces. C has and exception in this regard.learning C involves,the charactersct,the legal words in formating valiables constants etc.. then grammer is syntax then instructions using this syntax for any programing language syntax is like grammer for any spoken language.it determins the rules to form words and instructions.sintexs of a language is the logic.consider the two statements in english 1.John plays guitar 2.guitar plays john syntalically the two statiments are correct.but if we consider the logic the second statement has no meaning. So learning C comprises all these things. Character set - First we start with the character set available in C Alphabets A,B,C...........X,Y,Z a,b,c...........x,y,z Digits 1,2,3,..........7,8,9 Special characters ~ ! @ # $ % ^ & * ( ) _ + = - ' | \ / { } [ ] : ; " , . ?
Key words - key words are the predefined word in C. The meaning of these words are defined in the compiler and we cann't alter the meaning of these word. these words are also called Reserved words means these words are reserved for some other purpose. C has 32 key words. The list below shows these keywords.
|
|