- What is C ?
- Why C ?
Though C++ , Java, C# uses object oriented principle they still requires the core C language elements. That the reason over the years the importance of c is still unchallenged.
Major parts of popular operating system like Windows, Linux , unix are still written in C. This
is because even today when it comes to performance nothing can beat C.
C seems so popular is because it is
- reliable
- simple
- easy to use
- case sensitive language.
The C Character Set
Constants, variables and keywords
Constants :-Two major categories
- Primary
- Secondary
C Keywords
Keywords are the words, whose meaning has already been explained to the C compiler. The keywords cannot be used as variables names because if we do so we are trying to assign a new meaning to the keyword which is not allowed by the complier.
Variables
Rules for constructing variables names
- The first letter of variable name should be an alphabet or underscore
- No commas or blanks are allowed
- No special symbol
No comments:
Post a Comment