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:

    In this sad state, God Tender Bowells run
    Out streams of Grace: And he to end all strife
    The Purest Wheate in Heaven, his deare-dear Son
    Grinds, and kneads up into this Bread of Life.
    Which Bread of Life from Heaven down came and stands
    Disht on thy Table up by Angells Hands.
    Edward Taylor (1645–1729)

    A man who can dominate a London dinner table can dominate the world. The future belongs to the dandy. It is the exquisites who are going to rule.
    Oscar Wilde (1854–1900)

    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)