Multiple choice technology programming languages

In Perl, 'stat' returns a thirteen element array with which of the following values?

  1. Last access

  2. Inode number

  3. Both of the above

  4. Perl Version ID

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

The stat() function in Perl returns a 13-element list containing file information, including the inode number (index 1) and last access time (index 8). Both values are part of the returned array, making 'Both of the above' the correct answer.