Jump to content

Operators in C and C++

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Cgranade (talk | contribs) at 09:03, 9 April 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Operator Name Syntax Overloadable? In C99?
Arithemetic Operators
Addition Operator a + b Yes. Yes.
Subtraction Operator a - b Yes. Yes.
Multiplication Operator a * b Yes. Yes.
Division Operator a / b Yes. Yes.
Integer Division Operator a \ b Yes. Yes.
Modulus Operator a % b Yes. Yes.