0

what is the output for the a=a++ + 10 if a =5

11th Jul 2016, 4:27 PM
venkata subbareddy
venkata subbareddy - avatar
6 Respostas
+ 2
15
25th Jul 2016, 12:31 PM
Evan Sihab
Evan Sihab - avatar
+ 1
int a =1; a=a++ +10; output=11
11th Jul 2016, 4:51 PM
NUH ZAKİR
NUH ZAKİR - avatar
+ 1
@venkata Your question is incomplete. You did not give the initial value of a.
11th Jul 2016, 5:06 PM
Erwin Mesias
Erwin Mesias - avatar
+ 1
I think 16 will be the answer because+ operator is also there soo first it will increment value of a then add it into 10
19th Jul 2016, 3:05 PM
Siddharth Mathur
Siddharth Mathur - avatar
0
should be 16
21st Jul 2016, 5:03 PM
Manu Aggarwal
Manu Aggarwal - avatar
0
16
30th Sep 2016, 3:58 PM
Balachandar Vankayalapati
Balachandar Vankayalapati - avatar