PackageName
 
Docs
Loading...
Searching...
No Matches
temp_ex.c File Reference
#include <stdio.h>
#include "PackageName/template.h"

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 4 of file temp_ex.c.

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}
int add(int pA, int pB)
Add two integers.
Definition template.c:3
int subtract(int pA, int pB)
Subtract two integers.
Definition template.c:5