CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon


Question

Which of the following operators will combine two string constants? 


A
_
loader
B
+
loader
C
*
loader
D
++
loader

Solution

The correct option is B +
In programming languages, “+” operator is used to combine two string constants (Concatenation). For Example “Hello,” + “World” = “Hello, World”.                                                                                                                                                               Hence, option (B) is the correct answer.

Maths

Suggest Corrections
thumbs-up
 
0


similar_icon
Similar questions
View More


similar_icon
People also searched for
View More



footer-image