Which of the following operators will combine two string constants?
A
_
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
+
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
*
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
++
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
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.