Hello friends Here line number is showing expected output which is 828 .But friend why output in line number 11 is ceene-abhi .It should follow rule followed in line number 10 and output should be -abhiceene().I mean -abhi should be calculated first thrn ceene should be added in it.
posted 1 year ago
Would it change the output if the order of computation was not what you think it is? Whatever is in left will stay in left. Right?
Edit : --n is 1. So that expression becomes -
str = str + "-" + "abhi"