Documentos de Académico
Documentos de Profesional
Documentos de Cultura
REMEMBERING
Character Constants:
A Character constant is either
a single alphabet,
b D
a single digit or
9 4
a single special symbol
/ #
enclosed within single inverted commas.
Example: 'A' '+' 'v' '4' etc.
Identifiers / Variables:
Each and every Byte of memory is
sequentially assigned an address, starting
with zero from the first Byte.
To take away the tremendous load on
programmer, Language compilers give a
facility by which these addresses can be
named.
To refer to this memory location this name
is used.
These are called Identifiers or Variables.
Identifiers / Variables(Contd.):
Basic rules for naming variables:
Commands of C
There are some fixed words, which form
such commands in the C languages. These
fixed words are also called as C Key Words
or C reserved words.
There are 32 such Key words in C.
No identifier or variable name should
normally replicate a Key word. Though there
are some compilers which allow to give a
variable name resembling a Key word, but it
is a good programming practice to
avoid such naming.
Key Words of C.
auto
double int
long
switch
Case
enum register
return Union const
unsigned for signed
Default goto
sizeof
do
if
struct
break else
C is a function-oriented language.
A C program is a collection of function(s).
A function is a sub-program that contains
instructions or statements to perform a
specific computation on its variables.
When its instructions have been executed, the
function returns control to the calling program.
Functions may receive or return some variable
values, as arguments, from the caller or to
the caller(only one).
The type of a function is the type of the
Nesting is possible.
Pointer arithmetic
Algorithm Analysis
Time and space analysis of Algorithms
Order Notations O, ,