
What does "1"+2+4 evaluate to?

Since "1" is a string, everything is a string, so the result is a string of "124".
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.