...
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
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!