mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
150 B
7 lines
150 B
#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;
|
|
}
|