1. Question: What is the correct output of the following code?  var x=3*4+3+”2”; alert(x);

    A
    152

    B
    212

    C
    1232

    D
    3425

    Note: Not available
    1. Report
  2. Question: What will be output for the following JavaScript expression?
    var alpha=3*4+7
     var beta=3*(4+7)
     document.write(alpha+","+beta);

    A
    19,33

    B
    19,19

    C
    33,33

    D
    33,19

    Note: Arithmetic Operators Precedence Rank: 1. Multiplication 2. Division 3. Mod 4. Addition 5. Subtraction
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd