Arithmetic Operators in C language
An arithmetic operator performs mathematical operation on operands.
एक अर्थमेटिक ऑपरेटर, ओपेरंड्स पर गणितीय संक्रियाए करता है। यह बाइनरी ऑपरेटर होते है।
Let variable A=10 and B=5
माना कि A=10 एवं B=5
Following table represents operators,their description and example-
निम्न तालिका में ऑपरेटर,उसका संक्षिप्त विवरण एवं उदाहरण दर्शाए गए है -
| Operator | Description | Example |
|---|---|---|
| + | Addition | A + B=15 |
| − | Subtraction | A − B = 5 |
| * | Multiplication | A * B = 50 |
| / | Division | A / B = 2 |
| % | Modulus Operator gives remainder after an integral division. | A % B = 0 |
Comments
Post a Comment