- 1

Anyone tell me plz , how to do it in compiler. Please me help me , i don't understand this method.

7th Jul 2017, 2:04 PM
Sultan Ali
Sultan Ali - avatar
5 ответов
+ 2
assignment operator : int a=4; int b=7; int sum=a+b; here "=" is the assignment operator increment and decrement operators : ++ increment operator -- decrement operator ex: int a=4; a++; //value of a will be 4, but as soon as it reaches the ; the statement gets terminated and the value of a changes to 5. int b=7; b--; //similarly, value of b changes to 6. ex: int a=5 int b=--a; //here, value of b will be 4.. and value of a will also change because the decrement operation is applied to a, so the value of a will be 4 int c=a--; //the value of c will be 4.. because it is post decrement the value will chamge only when the statement terminates and the statement has not yet terminated.. and the value of a will change to 3
7th Jul 2017, 2:52 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
???
7th Jul 2017, 2:07 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
@sultan ali ..jb tum C++ sikhoge tab tum ko pata chal ja gayega ...fir bhi pata na chale to puchna ..!!
19th Jul 2017, 12:04 AM
Bansi Patel
0
assignment and increment is ko compiler me kesy use karna hain is me ju new code dy rahy wo waly
7th Jul 2017, 2:33 PM
Sultan Ali
Sultan Ali - avatar
0
Thanks bro
7th Jul 2017, 2:56 PM
Sultan Ali
Sultan Ali - avatar