Operators in C
Operators in C
Operators in C
ROLL NO: 09
An operator is a symbol that tells the compiler to
perform certain ,mathematical and logical
operations
= is an assignment operator
A=B=C=10 ;
These operators are specially used for incrementing
/decrementing the value of the variable by 1 only
Increment operator : ++
Decrement operator : --
Increment and Decrement operators are of two types
:
++ / --
1. sizeof :
This operator is used to find the size of the memory (in bytes) allocated
for a variable
Syntax : sizeof(variable_name);
2. pointer (*) :