Operators

This is a list of operators in the C and C++ programming languages. All the operators listed exist in C++; the fourth column "Included in C", states whether an operator is also present in C. Note that C does not support operator overloading.
When not overloaded, for the operators &&, ||, and , (the comma operator), there is a sequence point after the evaluation of the first operand.
C++ also contains the type conversion operators const_cast, static_cast, dynamic_cast, and reinterpret_cast. The formatting of these operators means that their precedence level is unimportant.
Most of the operators available in C and C++ are also available in other C-family languages such as C#, D, Java, Perl, and PHP with the same precedence, associativity, and semantics.

View More On Wikipedia.org
  • 1009

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,443
    • Media
      227
    • Reaction score
      10,021
    • Points
      1,237
  • 1

    loginorsinup

    A PF Electron
    • Messages
      54
    • Reaction score
      2
    • Points
      11
  • 1

    Harry Smith

    A PF Atom
    • Messages
      8
    • Reaction score
      0
    • Points
      31
  • 1

    "Don't panic!"

    A PF Atom
    • Messages
      601
    • Reaction score
      8
    • Points
      46
  • 1

    Ahmad Kishki

    A PF Atom
    • Messages
      159
    • Reaction score
      13
    • Points
      41
  • 1

    dyn

    A PF Cell
    • Messages
      773
    • Reaction score
      61
    • Points
      113
  • 1

    peripatein

    A PF Atom
    • Messages
      880
    • Reaction score
      0
    • Points
      46
  • 1

    david34

    A PF Quark
    • Messages
      3
    • Reaction score
      0
    • Points
      1
  • 1

    RicardoMP

    A PF Atom From Lisbon
    • Messages
      49
    • Reaction score
      2
    • Points
      36
  • 1

    ellilu11

    A PF Electron
    • Messages
      2
    • Reaction score
      0
    • Points
      16
  • 1

    Kurret

    A PF Molecule
    • Messages
      143
    • Reaction score
      0
    • Points
      61
  • 1

    Mastern00b

    A PF Quark
    • Messages
      5
    • Reaction score
      0
    • Points
      1
  • 1

    redtree

    A PF Cell
    • Messages
      285
    • Reaction score
      13
    • Points
      103
  • 1

    Bernard

    A PF Electron
    • Messages
      11
    • Reaction score
      0
    • Points
      11
  • 1

    binbagsss

    A PF Cell
    • Messages
      1,254
    • Reaction score
      11
    • Points
      123
  • 1

    leo.

    A PF Molecule
    • Messages
      96
    • Reaction score
      5
    • Points
      58
  • 1

    askhetan

    A PF Atom From Germany
    • Messages
      35
    • Reaction score
      2
    • Points
      34
  • 1

    DrPapper

    A PF Electron
    • Messages
      48
    • Reaction score
      9
    • Points
      11
  • 1

    MisterX

    A PF Cell From United States
    • Messages
      764
    • Reaction score
      71
    • Points
      113
  • 1

    MoAli

    A PF Electron
    • Messages
      12
    • Reaction score
      0
    • Points
      11
  • Back
    Top