Operators in C and C++ - Table

Table

For the purposes of this table, a, b, and c represent valid values (literals, values from variables, or return value), object names, or lvalues, as appropriate.

"Can overload" means that the operator can be overloaded in C++. "Included in C" means that the operator exists and has a semantic meaning in C (operators are not overloadable in C).

Read more about this topic:  Operators In C And C++

Famous quotes containing the word table:

    When you got to the table you couldn’t go right to eating, but you had to wait for the widow to tuck down her head and grumble a little over the victuals, though there warn’t really anything the matter with them. That is, nothing only everything was cooked by itself. In a barrel of odds and ends it is different; things get mixed up, and the juice kind of swaps around, and the things go better.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)

    The gingham dog and the calico cat
    Side by side on the table sat;
    Eugene Field (1850–1895)

    Will you greet your doom
    As final; set him loaves and wine; knowing
    The game is finished when he plays his ace,
    And overturn the table and go into the next room?
    Philip Larkin (1922–1986)