#include
void show_array(int values[], int number_of_elements)
{
int i;
printf("About to display %d values\n", number_of_elements);
for (i = 0; i < number_of_elements; i++
#include
void main(void)
{
int box[3][3];
float year_sales[52][5];
char pages[40][60][20];
printf("Bytes to hold int box[3][3] %d bytes\n", sizeof(box));
print
#include
void main(void)
{
int scores[100];
float salaries[100];
char string[100];
printf("Bytes used to hold int scores[100] is %d bytes\n",
sizeof(scores));
#include
#define ARRAY_SIZE 5
void main(void)
{
int values[ARRAY_SIZE] = {80, 70, 90, 85, 80};
int i;
for (i = 0; i < ARRAY_SIZE; i++)
printf("values[%d] %d\n", i