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 who is greater, the one who is at the table or the one who serves? Is it not the one at the table? But I am among you as one who serves.”
    —Bible: New Testament, Luke 22:27.

    “They were not on the table with their elbows.
    They were not sleeping in the shelves of bunks.
    I saw no men there and no bones of men there.”
    —Robert Frost (1874–1963)

    “Thou preparest a table before me in the presence of mine enemies; thou anointest my head with oil; my cup runneth over.”
    —Bible: Hebrew Psalms, 23:5.