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 New York, pretending to be above the struggle means no seat on the bus and a table next to the kitchen.
    Mason Cooley (b. 1927)

    A big leather-bound volume makes an ideal razorstrap. A thin book is useful to stick under a table with a broken caster to steady it. A large, flat atlas can be used to cover a window with a broken pane. And a thick, old-fashioned heavy book with a clasp is the finest thing in the world to throw at a noisy cat.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)

    ... 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)