background preloader

C Programming

Facebook Twitter

C Bitwise Operators (C) The bitwise operators perform bitwise-AND (&), bitwise-exclusive-OR (^), and bitwise-inclusive-OR (|) operations.

C Bitwise Operators (C)

Syntax AND-expression: equality-expression AND-expression & equality-expression exclusive-OR-expression: Operators in C and C++ When not overloaded, for the operators &&, ||, and , (the comma operator), there is a sequence point after the evaluation of the first operand.

Operators in C and C++

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. Table[edit] 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. C Language Keywords. C Language Keywords Standard ANSI C recognizes the following keywords: autobreakcasecharconstcontinuedefaultdodoubleelseenumexternfloatforgotoifintlongregisterreturnshortsignedsizeofstaticstructswitchtypedefunionunsignedvoidvolatilewhile.

C Language Keywords