Project/Real_code/book/ch12/ch12-assert.c
int lsearch(int *array, size_t size, int value)
{
	size_t i;

	assert(array != NULL);
	assert(size > 0);
	for (i = 0; i < size; i++)
		if (array[i] == value)
			return i;

	assert(i == size);

	return -1;
}
/* lsearch --- return index in array of value, or -1 if not found */
return index in array of value, or -1 if not found
return index in array of value or - 1 if not found
int lsearch(int *array, size_t size, int value)
{
	size_t i;
	assert(array != NULL);
	assert(size > 0);
	for (i = 0; i < size; i++)
		if (array[i] == value)
			return i;
	assert(i == size);
	return -1;
}
int lsearch ( int * array , size_t size , int value ) { size_t i ; assert ( array != NULL ) ; assert ( size > 0 ) ; for ( i = 0 ; i < size ; i ++ ) if ( array [ i ] == value ) return i ; assert ( i == size ) ; return -1 ; }
lsearch --- return index in array of value, or -1 if not found
lsearch --- return index in array of value or - 1 if not found