Sign inSign up free

918. Reading Lines Into an Array

medium 5 XP ~1 minQuiz

What is the safest way to get each line of hosts.txt into an array, one element per line?

Choose one answer