Solved

Suppose You Define Two Variables as Follows: Var X =

Question 6

Multiple Choice

Suppose you define two variables as follows: var x = 5; var y = "5"; Which statement will return the mathematical sum of these variables?


A) alert(x + int(y) ) ;
B) alert(x + parseInt(y) ) ;
C) alert(x + y) ;
D) alert((int) x + (int) y) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents