Arithmetic operators

Arithmetic operators : Operators, which are used to perform arithmetic operations such as addition, subtraction, multiplication, division etc.

These types of expressions consist of operators, operands or some expression. The following is the list of arithmetic operators.

Arithmetic operators : ऑपरेटर, जिनका इस्तेमाल अंकगणित कार्यों जैसे कि अतिरिक्त, घटाव, गुणा, विभाजन आदि करने के लिए किया जाता है।

इन प्रकार के अभिव्यक्ति में ऑपरेटर, संचालन या कुछ अभिव्यक्ति शामिल होती है। निम्नलिखित Arithmetic operators की सूची है।

+(addition),

-(subtraction),

*(Multiplication),

/(Division),

% (modulo),

++(increment by 1),

–(decrement by 1)

Here are some examples of arithmetic expressions.

e.g. x=y+z; /* addition of y and z will be stored in x */ i++; /* i will be incremented by 1 i.e i=i+1 */

y=x%2; /* remainder after x divided by 2 will be stored in y */

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

error: Content is protected !!