Share
Explore BrainMass

C

C programming: parameter passing

Need 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).

C Programming

I need to create a text file and then read it from my C program. I haven't a clue how to get started. The examples in my book do not work or either I'm doing something wrong.