</source>
و هذا المثال هو عبارة عن حاسبة بسيطة تقوم بالعمليات الحسابية الأساسية بين عددين{{لغات البرمجة حسب المستوى}}
== العمليات في لغة C ==
Main article: Operators in C and C++
C supports a rich set of operators, which are symbols used within an expression to specify the manipulations to be performed while evaluating that expression. C has operators for:
* arithmetic: +, -, *, /, %
* assignment: =
* augmented assignment: +=, -=, *=, /=, %=, &=, |=, ^=, <<=, >>=
* bitwise logic: ~, &, |, ^
* bitwise shifts: <<, >>
* boolean logic: !, &&, ||
* conditional evaluation: ? :
* equality testing: ==, !=
* calling functions: ( )
* increment and decrement: ++, --
* member selection: ., ->
* object size: sizeof
* order relations: <, <=, >, >=
reference and dereference: &, *, [ ]
sequencing: ,
subexpression grouping: ( )
type conversion: (typename)
<br />
== انظر أيضا ==
|