Aptitude
October 14, 2023NVS PGT CS 2017 Part-B
October 14, 2023NVS PGT CS 2017 Part-B
Question 17 |
What will be the output of the following script command ?
document.write (2+5+”8″);
document.write (2+5+”8″);
258 | |
Error | |
78 | |
7 |
Question 17 Explanation:
The “+” operator acts as arithmetic operator along with integers and concatenation operator along with string.
The expression 2+5+”8″ gives 78
The expression 2+5+”8″ gives 78
Correct Answer: C
Question 17 Explanation:
The “+” operator acts as arithmetic operator along with integers and concatenation operator along with string.
The expression 2+5+”8″ gives 78
The expression 2+5+”8″ gives 78
Subscribe
Login
0 Comments