...
Aptitude
October 14, 2023
NVS PGT CS 2017 Part-B
October 14, 2023
Aptitude
October 14, 2023
NVS PGT CS 2017 Part-B
October 14, 2023

NVS PGT CS 2017 Part-B

Question 17
What will be the output of the following script command ?
document.write (2+5+”8″);
A
258
B
Error
C
78
D
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
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

Leave a Reply

Your email address will not be published. Required fields are marked *