Q. See the given code of JavaScript and choose the correct output from the following

Code:
var string1 = "40";  
varvalueinit=50;  
alert( string1 +intvalue);  
  • (A) 4090
  • (B) 90
  • (C) 4050
  • (D) Exception
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4050

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
244
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akshay Kulkarni
Publisher
πŸ“ˆ
90%
Success Rate