Computer Science, asked by prikshit59290, 3 months ago

What is the use of ‘*’ operator in a string manipulation?​

Answers

Answered by kajalshrivastava0854
4

Answer:

The * operator can be used to repeat the string for a given number of times. Writing two string literals together also concatenates them like + operator. If we want to concatenate strings in different lines, we can use parentheses.

Answered by Anonymous
12

Answer:

The * operator can be used to repeat the string for a given number of times. Writing two string literals together also concatenates them like + operator. If we want to concatenate strings in different lines, we can use parentheses.

Similar questions