init
This commit is contained in:
15
exam-basedir03/subjects/max/subject.en.txt
Normal file
15
exam-basedir03/subjects/max/subject.en.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Assignment name : max
|
||||
Expected files : max.c
|
||||
Allowed functions:
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Write the following function:
|
||||
|
||||
int max(int* tab, unsigned int len);
|
||||
|
||||
The first parameter is an array of int, the second is the number of elements in
|
||||
the array.
|
||||
|
||||
The function returns the largest number found in the array.
|
||||
|
||||
If the array is empty, the function returns 0.
|
||||
Reference in New Issue
Block a user