C Programming is easy to learn there is a close analogy between learning English language and learning C language.
We will start from the basic concept of C like which alphabets,digits,special symbols we can use.
- Alphabets - A,B.......Y,Z
- Digits - 0,1,2,3,4,5,6,7,8,9
- Special symbols - ~ ' ! @ # % ^ & * ( ) _ - + = | \ { } [ ] : ; " ` < > , . ? / $
In C Programming we typically do lots of calculation the result of these calculation is stored in the computer memory it's similar to human memory so all the result in C is in memory location
For now just just keep in mind that in C there are two types of constant:-
- Primary constant
- Secondary constant
Primary constant:-
- Integer constant
- Real constant
- Character constant
Secondary constant:-
- Array
- Pointer
- Structure
- Union
- Enum.Etc
I'll cover all this topic and using this we are going to learn C programming.
C keywords:-
C keyword are the word whose meaning are already defined in C compiler .There are in all 32 C Keyword as follows:-
auto double int struct
break else long switch
char if register typedef
case enum return union
const extern short unsigned
continue float signed void
default for sizeof volatile
do goto static while
This keyword cannot be used as C variables if we do so we are trying to assign a new meaning to keyword which is not allowed.
Note that different compilers provide their own keyword apart from one mentioned.
Comments
Post a Comment