C language
Keywords are the reserved words in programming and are part of the syntax.
Keywords are predefined, reserved words used in programming that have special meaning. Keywords are part of the syntax and they cannot be used as an identifier. For example:
int money;
Character set
Character set is a set of alphabets, letters and some special characters that are valid in C language.
Alphabets
Uppercase: A B C ................................... X Y Z
Lowercase: a b c ...................................... x y z
Digits
0 1 2 3 4 5 6 7 8 9
Special Characters
White space Characters
blank space, new line, horizontal tab, carriage return and form feed
Variables And constants
In programming, a variable is a container (storage area) to hold data.
To indicate the storage area, each variable should be given a unique name (identifier). Variable names are just the symbolic representation of a memory location. For example:
int a = 90;
Constants/Literals
A constant is a value or an identifier whose value cannot be altered in a program. For example: 1, 2.5, "C programming is easy" etc.
Data types in C
Data types simply refers to the type and size of data associated with variables and functions.
Fundamental Data Types
- Integer types
- Floating type
- Character type
Derived Data Types
Array
Pointers
Structures
Enumeration
Keywords are the reserved words in programming and are part of the syntax.
Keywords are predefined, reserved words used in programming that have special meaning. Keywords are part of the syntax and they cannot be used as an identifier. For example:
int money;
Character set
Character set is a set of alphabets, letters and some special characters that are valid in C language.
Alphabets
Uppercase: A B C ................................... X Y Z
Lowercase: a b c ...................................... x y z
Digits
0 1 2 3 4 5 6 7 8 9
Special Characters
Special Characters in C Programming |
||||
, |
< |
> |
. |
_ |
( |
) |
; |
$ |
: |
% |
[ |
] |
# |
? |
' |
& |
{ |
} |
" |
^ |
! |
* |
/ |
| |
- |
\ |
~ |
+ |
|
White space Characters
blank space, new line, horizontal tab, carriage return and form feed
Variables And constants
In programming, a variable is a container (storage area) to hold data.
To indicate the storage area, each variable should be given a unique name (identifier). Variable names are just the symbolic representation of a memory location. For example:
int a = 90;
Constants/Literals
A constant is a value or an identifier whose value cannot be altered in a program. For example: 1, 2.5, "C programming is easy" etc.
Data types in C
Data types simply refers to the type and size of data associated with variables and functions.
Fundamental Data Types
- Integer types
- Floating type
- Character type
Derived Data Types
- Arrays
- Pointers
- Structures
- Enumeration