0
While working on increment/decrement expressions there is difference between the outputs if the compiler is different?Y it is so
6 Réponses
0
What I think you should do about this is to learn to not make this mess and if someone else does it, track them down and ask how can they sleep at night after what they've done.
+ 1
I m working on c
+ 1
I have no idea how ubuntu gets 7, but turbo probably first does all of ++i and then adds them up.
0
Which language, which compilers? It shouldn't be happening but I just want to be sure.
0
in Ubuntu if i=0; z= ++I + ++I ++I ..as a result z =7 but in turbo c7 the output dt is value of z is 9...why it is so ? any conceptual reason is there which I want to knw? in short how the compiler is evaluating the result ?
0
ok..ty I knw abt turbo nd working too...to make my concepts strong