MCQs > IT & Programming > JavaScript > What's the output? var a = 5; var b = 2; var c = a / b; var c = a * b var c = a % b var c = a + b * a; document.write(c);

JavaScript MCQs

What will be the output of the following JavaScript code?

var a = 5;
var b = 2;
var c = a / b;
var c = a * b
var c = a % b
var c = a + b * a;
document.write(c);


Answer

Correct Answer: 15

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it