### OPERATORS IN MIKROC

This post is just an overview on the various operators which are supported by MikroC . Have a look one after the other.

• Arithmetic Operators
• Relational Operators
• Logical Operators
• Bitwise Operators
• Assignment Operators
• Conditional Operators
• Preprocessor Operators
ARITHMETIC OPERATORS:
Arithmetic operators are similar to that of C language and look the table given below which are self explanatory.

 OPERATOR OPERATION + Addition - Subtraction * Multiplication / Division % Integer division (Remainder) ++ Auto increment -- Auto decrement
They are used to perform the arithmetic operations.

RELATIONAL OPERATORS:

 OPERATOR OPERATION == Equal to != Not equal to > Greater than < Less than >= Greater than or equal to <= Less than or equal to

To compare any two variables these operators are used.

LOGICAL OPERATORS:

 OPERATOR OPERATION && AND || OR ! NOT

Logical operators are used to check the statements and take corresponding step.
For example if we want to check two variable conditions i.e if A and B are true then do some C in this case we use AND operator. Ether A is true or B is true then do some C then OR operator is used. If A is not true then do some C then we use NOT operator.

BITWISE OPERATORS:

 OPERATOR OPERATION & Bitwise AND | Bitwise OR ^ Bitwise EXOR ~ Bitwise Complement << Shift Left >> Shift Right
Bit wise operators are used to perform the bitwise operations. It is similar to that of instructions ANL , ORL, etc which we have seen in Assembly language before.

ASSIGNMENT OPERATOR:
Simplest assignment operator is equal to =
Other assignment operators supported by mikroC are shown below

+= , - = , * = , / = , so on...

CONDITIONAL OPERATOR:

Result = Exp1? Exp2 : Exp3

If Expression1 is true then Result = Exp2 , if Expression1 is false then Result = Exp3

PREPROCESSOR OPERATOR:
Preprocessor commands which are supported by mikroC are

#define             #undef
#if                    #elif             #endif
#ifdef               #ifndef
#error
#line
Only few of them will be used in our programming , we will look at that instant.

AUTHOR: YOUSTRON SIC

Sowpath das said...

The formal regulated education sector in India broadly comprises of schools (often classified as K-12 - kindergarten to 12th) and higher education institutions. While India has been proactive on liberalization, the education sector has remained largely untouched by the reforms process.Archaic legislations mandate all formal educational institutions in India to be run as 'not-for-profit' centres by not-for-profit entities viz. a society, trust or a section 25 company.academic writing

uncf hdn said...

Wear, fold, deploy, and wear again. The cheap raybans sunglasses Wayfarer folding classic cheap raybans active sunglasses are a true symbol of non-traditional spirit and have been reinterpreted as new functional best Ray-Ban.The most representative best Ray-Ban modeling has become a practical, portable, stylish and compact folding style design. Crystal Green, Polarized, Crystal Grey Gradient, Crystal Green Mirror Blue, etc., Fake Ray-Ban 4105 Hiking Folding Classic heap raybans aviator sunglasses, Black Frame and Various Lens Treatments Please search.

midn said...

The best extravagant time in the world! If you want these cheap air max 90 uk, would you like these nikes? Has this happened but stopped? cheap nike air max 90 Because they are expensive for your steps, this is the place that is best for you. First of all, we should confirm this

sandeep saxena said...

The above detailed information is very informative. Every points that you posted is very useful to me.
core java training in chennai
core java training
core java Training in Porur
C Language Training in Chennai
javascript training institute in chennai
Drupal Training in Chennai
Photoshop Classes in Chennai
core java training in chennai