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:

    “For the elemental creatures go
    About my table to and fro,
    That hurry from unmeasured mind
    To rant and rage in flood and wind....
    ”
    —William Butler Yeats (1865–1939)

    “Life is a thin narrowness of taken-for-granted, a plank over a canyon in a fog. There is something under our feet, the taken-for-granted. A table is a table, food is food, we are we—because we don’t question these things. And science is the enemy because it is the questioner. Faith saves our souls alive by giving us a universe of the taken-for-granted.”
    —Rose Wilder Lane (1886–1968)

    ““A sigh for every so many breath,
    And for every so many sigh a death.
    That’s what I always tell my wife
    Is the multiplication table of life.””
    —Robert Frost (1874–1963)