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_to_median
(
v
,
n
);
13
14
for
(
int
i = 0; i <
n
; i++){
15
printf
(
"%d "
,
p
[i]);
16
}
17
printf
(
"\n"
);
18
19
free
(
p
);
20
return
0;
21
}
sorted_by_distance_to_median
int * sorted_by_distance_to_median(int v[], int n)
Definition
big.c:6
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
tests
e2e
current
tmp
source
test_multiple_file_similiar_function
code.c
main.c
Generated by
1.12.0