Arkanjo
0.1
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
main.c
Go to the documentation of this file.
1
{
2
3
int
v
[6];
4
v
[0] = 5;
5
v
[1] = 3;
6
v
[2] = 4;
7
v
[3] = 1;
8
v
[4] = 2;
9
v
[5] = 1;
10
int
n
= 6;
11
12
int
*
p
=
sorted_by_distance_of_median
(
v
,
n
);
13
14
15
for
(
int
i = 0; i <
n
; i++){
16
printf
(
"%d "
,
p
[i]);
17
}
18
printf
(
"\n"
);
19
20
free
(
p
);
21
return
0;
22
}
free
free(p)
printf
printf("\n")
n
int n
Definition
main.c:10
v
v[0]
Definition
main.c:4
p
int * p
Definition
main.c:12
sorted_by_distance_of_median
int * sorted_by_distance_of_median(int v[], int n)
Definition
source.c:9
tests
e2e
current
tmp
source
test_multiple_file_similiar_function
source.c
main.c
Generated by
1.12.0