#include <stdio.h>
#define SIZE 100
void
fill_array (int list[], int n, int in_value)
{
int i;
for (i=0; i<n; ++i)
list[i] = in_value;
}
int
main (void)
{
int x[SIZE], i, value;
printf ("Enter a value: ");
scanf ("%d", &value);
fill_array (x, SIZE, value);
for (i=0; i<SIZE; ++i)
printf ("%d ", x[i]);
return (0);
}