Multiple choice technology programming languages

$input = 'abc'; print --$input;

  1. abc

  2. abb

  3. minus 1

  4. Error:Can perform this operation

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

The -- operator is only defined for numeric strings, not pure alphabetic strings. For 'abc', Perl's magical decrement returns 'minus 1' as a fallback behavior since it's not a valid numeric string for decrement.