Perl Programming Fundamentals

Casual Mode - Take your time!

1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice

If $string contains abcdabcd , what will the following call return? index ($string, “cd”, 3);

  1. 6
  2. 4
  3. -1
  4. 2
Change Mode