8 lines
150 B
C
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
#include "y1.h"
void aryfil( int *v, int n, int c )
{
/* set elements 0 through n-1 to c */
register int i;
for( i=0; i<n; ++i ) v[i] = c;
}