WHAT WILL BE RESULT OF 2 5 "8"?

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
 1751  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    What will be result of 2 5 "8"?

    Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it’s concatenation, so 78 is the result.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!