Multiple choice technology programming languages

Which function is used to remove a key – value pair from hash

  1. Remove

  2. Unhash

  3. Delete

  4. Rub

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

The delete() function in Perl removes a key-value pair from a hash. There is no built-in 'unhash' or 'rub' function in Perl, and 'remove' is not a standard Perl function for hash operations.