C Primer Plus 第十章第十題

10. Write a program that declare a 3×5 array and initializes it to some values of your choice. Have the program print the values, double all the values, and then display the new values. Write a function to the displaying and a second function to do the doubling. Have the function take the array name and the number of rows as arguments.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.