adplus-dvertising
frame-decoration

Question

What will be the output of the following code ?
<html>
    
    <body>
        <script>
            var x = 5;
            var y = 6;
            document.write((x + y) + "<br>");
        </script>
    </body>

</html>

a.

56

b.

Error

c.

No Output

d.

11

Answer: (d).11

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following code ?