Multiple choice technology programming languages

The value of the expression $yards += 10

  1. is 10

  2. is true.

  3. cannot be determined from the information given.

  4. relies on which command line arguments were used.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In languages like Perl, the expression \$yards += 10 returns the new value of \$yards. Since the initial value of $yards is not specified, the final value cannot be determined from the given information.