--> 1 Byte = 8 bits
--> 1 Kilo Byte = 2^10 Bytes = 1024 bytes
--> 1 Mega byte = 2^10 KB = (2^10)*(2^10) bytes = 2^20 bytes
--> 1 Giga Byte = 2^10 MB = (2^10)*(2^10)*(2^10) bytes = 2^30 bytes
--> A variable just storage a location which is capable of storage some table.
-->The rules for naming a variable are else following.
--> The Variable name should start with
1) Alphabets and it can be followed by any number of alphabets or digits without any other special symbols except "___"(underscore).
2) The Variable names should not match with the keywords
3) Variable names should be unique i.e , no two variables should have same name within a program.
--> There are some words provided by "C" language which has a free defined meaning and are referred as key words (or) reserved words
--> There are 32 Keywords in C language. The keywords provided by "C" languages are as follows
Auto, break, case, char, const, continue, do, default, double, else, enum, extern, far, for, float, goto, int, if, long, near, return, register, struct, static, short, signed, switch, typedef, union, unsigned, void, while
--> "C" language is a
case-sensitive language i.e, it consider both
upper case and
lower case symbols are different.
--> A program is set of sequence of instruction which perform a free defined task.
--> Each and Every statement should be terminated with a
semicolon(
;).
--> A "C" Program is a combination of functions with a special function called
main() from which they execution start
( ) --> Parenthesis
{ } --> Braces
[ ] --> Sub-script
For Example:
main( )
{
f(3);
f(2);
f(1);
}
f1(arg list)
{
statements;
}
f2(arg list)
{
statements;
}
f3(arg list)
{
statements
}