Google News
logo
Perl - Quiz(MCQ)
'x' operator on string used to?
A)
Add two strings
B)
Add x character to the string
C)
Both (A) and (B)
D)
Repeat the given string multiple times

Correct Answer :   Repeat the given string multiple times


Explanation : The "x" operator in Perl strings is used to repeat the given string multiple times.

Advertisement