Write a program that accepts an integer n and a fi lename as command-line arguments to
print the fi rst n lines of the fi le.
Assuming that the line length is limited to 256 characters, write a program that reads all lines
of a text fi le into a 2D array. Display the lines saved in the array.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here