Home »
MCQs »
Perl Programming MCQs
Which of the following is a valid assignment operator in Perl?
34. Which of the following is a valid assignment operator in Perl?
- =
- ==
- +=
- %=
Answer: B) ==
Explanation:
- = is simple assignment operator
- += is addition assignment operator
- %= is remainder assignment operator