Write a statement that assigns the first line of an opened text file to the first element

Question:

Write a statement that assigns the first line of an opened text file to the first element in an array named strHobbit.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: