Create a c program has a declaration in main


Discuss the below:

Q: Create a C program that has a declaration in main () to store the following numbers into an array named rates:2.3,3.3,4.4,5.5,6.0. There should be a function call to show () that accepts rates in a parameter named rates and then displays the numbers using the pointer notation *(rates + i).

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Create a c program has a declaration in main
Reference No:- TGS01936479

Now Priced at $25 (50% Discount)

Recommended (97%)

Rated (4.9/5)