+ operator will first convert the string to a numeric value.
so "0" -> 0
after that, it's post incrementing, so it will not increment
thus output will remain 0
P.S : There are two types of increment (post & pre)
Post (a++) will print first then increment
Pre (++a) will increment first then print
Post #801
2.47K
