PandA-2024.02
documentation
tutorial_ics_2021
02-target_customization
Exercise1
hint.c
Go to the documentation of this file.
1
void
max
(
int
input
[10],
int
*
max
)
2
{
3
int
local_max = input[0];
4
int
i = 0;
5
for
(i = 0; i < 10; i++)
6
{
7
if
(input[i] > local_max)
8
{
9
local_max = input[i];
10
}
11
}
12
*max = local_max;
13
}
input
int input[SIZE]
Definition:
hash.h:1
max
void max(int input[10], int *max)
Definition:
hint.c:1
Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by
1.8.13