Is this easier?
Code:

**#include** <stdio.h>
**void** **InitIntArray**(**int** *array, **int** size, **int** value)
{
**int** i;
**for** ( i = 0; i < size; ++i )
{
array[i] = value;
}
}
**int** **main**(**void**)
{
**int** i, array[5] = {0};
**puts**("Nothing up my sleeve...");
**for** ( i = 0; i < 5; ++i )
{
**printf**("array[%d] = %d\n", i, array[i]);
}
**InitIntArray**(array, 5, 42);
**puts**("Presto!");
**for** ( i = 0; i < 5; ++i )
{
**printf**("array[%d] = %d\n", i, array[i]);
}
**return** 0;
}
/* my output
Nothing up my sleeve...
array[0] = 0
array[1] = 0
array[2] = 0
array[3] = 0
array[4] = 0
Presto!
array[0] = 42
array[1] = 42
array[2] = 42
array[3] = 42
array[4] = 42
*/