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:

    I talk with the authority of failure—Ernest with the authority of success. We could never sit across the same table again.
    F. Scott Fitzgerald (1896–1940)

    Many a time I have seen my mother leap up from the dinner table to engage the swarming flies with an improvised punkah, and heard her rejoice and give humble thanks simultaneously that Baltimore was not the sinkhole that Washington was.
    —H.L. (Henry Lewis)

    ... So damn your food and damn your wines,
    Your twisted loaves and twisting vines,
    Your table d’hôte, your à la carte,
    . . . .
    From now on you can keep the lot.
    Take every single thing you’ve got,
    Your land, your wealth, your men, your dames,
    Your dream of independent power,
    And dear old Konrad Adenauer,
    And stick them up your Eiffel Tower.
    Anthony Jay (b. 1930)