Which of the following is a valid assignment operator in Perl?

34. Which of the following is a valid assignment operator in Perl?

  1. =
  2. ==
  3. +=
  4. %=

Answer: B) ==

Explanation:

  • = is simple assignment operator
  • += is addition assignment operator
  • %= is remainder assignment operator

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.