Changes

Jump to: navigation, search

Langage C

34 bytes added, 11:34, 23 September 2015
/* code part */
==== code part ====
'''===== Operateur d'affection (=)'''===== : allocation of variable by a constante or an other variable
<u>exemple</u>:
b = a; // allocation of a to B
'''===== Operateur arithmetique (+, -, / , *,...)'''=====:
<u>exemple</u>:
a = a % b; a %= b; // new allocation of a by modulo / same writting
'''===== Operateur unaire moins (-)'''=====: to get back a negative number
<u>exemple</u>:
c = a + b; // same result that allows
'''===== Operateur incrementation / decrementation (-- or ++)'''=====:
<u>exemple</u>:
a--;
'''===== Operateur relationnel '''=====: comparison between two variables, the result is '1' if the test is positive and '0' if the test is negtaive
<u>exemple</u>:
a <= b;
'''===== Operateur de conversion'''===== : change the type of a variable
<u>exemple</u>:
int a;
(char)a;
==== Trick ====
952
edits