16.0k views
5 votes
What is the purpose of concatenation?

To combine two variable names in order to form a string
To combine two or more strings into one big string
To pull out a group of characters from a string
To pull out one specific character from a string

1 Answer

3 votes

Step-by-step explanation:

Concatenation allows you to add multiple strings together to form one long string by using the '+' operator between each string, so the purpose of concatenation is "to combine two or more strings into one big string" (third option).

Hope this helps :)

User Igorzg
by
5.9k points