1. Consider the two-dimensional array of strings described in the previous exercise. Write two nested loops to copy the array into a one-dimensional array of strings whose length is NUM_ROWS * NUM_COLS.
2. Repeat the previous exercise, but use only one loop.
3. Consider a one-dimensional array of strings. The length of the array is N*M, where N and M are named constants whose values are positive integers. Write two nested loops that display all of the strings in the array, one per line.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here