PackageName
Docs
Loading...
Searching...
No Matches
temp_ex.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include "
PackageName/template.h
"
3
4
int
main
()
5
{
6
int
x = 10, y = 5;
7
printf(
"Addition of %d and %d is: %d\n"
, x, y,
add
(x, y));
8
printf(
"Subtraction of %d and %d is: %d\n"
, x, y,
subtract
(x, y));
9
return
0;
10
}
main
int main()
Definition
temp_ex.c:4
add
int add(int pA, int pB)
Add two integers.
Definition
template.c:3
subtract
int subtract(int pA, int pB)
Subtract two integers.
Definition
template.c:5
template.h
src
example
temp_ex.c
Generated by
1.12.0