Skip to content
  • About
  • NMRIL Labs
  • Courses
  • ResearchExpand
    • Research Publications
    • Books
    • Patents
    • Ph.D. Supervised
  • Workshop/Conferences
  • ToolsExpand
    • Creative Image Converter
    • Creative QRCode Generator
    • Creative QR Code Generator Tool
    • EMI Calculator
    • SIP Calculator
  • Blog
  • Resume
One Page CV

Operators

Arithmetic Operators

  • +, – , *, / and the modulus operator %.
  • + and – have the same precedence and associate left to right.
    3 – 5 + 7 = ( 3 – 5 ) + 7  3 – ( 5 + 7 )
    3 + 7 – 5 + 2 = ( ( 3 + 7 ) – 5 ) + 2
  • *, /, % have the same precedence and associate left to right.
  • The +, – group has lower precedence than the *, / % group.
    3 – 5 * 7 / 8 + 6 / 2
    3 – 35 / 8 + 6 / 2
    3 – 4.375 + 6 / 2
    3 – 4.375 + 3
    -1.375 + 3
    1.625

The following table shows all the arithmetic operators supported by the C language. Assume variable A holds 10 and variable B holds 20 then

Logical Operators

Nishant Munjal

Coding Humanity’s Future </>


Facebook Twitter Linkedin YouTube Github Email

Tools

  • SIP Calculator
  • EMI Calculator
  • Creative QR Code
  • Image Converter

Resources

  • Blog
  • Contact
  • Refund and Returns

Legal

  • Disclaimer
  • Privacy Policy
  • Terms and Conditions

© 2025 - All Rights Reserved

  • About
  • NMRIL Labs
  • Courses
  • Research
    • Research Publications
    • Books
    • Patents
    • Ph.D. Supervised
  • Workshop/Conferences
  • Tools
    • Creative Image Converter
    • Creative QRCode Generator
    • Creative QR Code Generator Tool
    • EMI Calculator
    • SIP Calculator
  • Blog
  • Resume
Download CV
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.