Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
rallui
/
IAX0583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
90c92303
authored
Nov 21, 2017
by
rallui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
fa38b604
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
Tunnitööd/tunnitoo11,5.c
Tunnitööd/tunnitoo11,5.c
0 → 100644
View file @
90c92303
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void
DataInsert
(
int
*
number
);
int
EnterSomeNumber
();
void
FillArray
(
int
Array
[],
int
*
limit
);
void
MergeArrays
(
int
Array
[],
int
Array2
[],
int
Array3
[],
int
*
limit
;
int
*
limit2
);
void
Sort
(
int
ArrayThatIsAwesome
[],
int
*
FinalDestination
);
int
main
()
{
//int i;
int
i
=
0
;
int
n1
;
int
n2
;
int
k1
;
int
k2
;
DataInsert
(
&
n1
);
DataInsert
(
&
k1
);
DataInsert
(
&
k2
);
printf
(
"%d"
,
k1
);
printf
(
"%d"
,
k2
);
n2
=
EnterSomeNumber
();
printf
(
"
\n
Example with pointer n:%d
\n
"
,
n1
);
printf
(
"
\n
Example without pointer n:%d
\n
"
,
n1
);
}
/* void DataInsert(int *number)
{
printf("Sisesta number:");
scanf("%d", number);
}
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment