mirror of
https://github.com/gatieme/LDD-LinuxDeviceDrivers.git
synced 2026-08-22 15:20:28 +08:00
13 lines
202 B
C
13 lines
202 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(void)
|
|
{
|
|
int a = 3, b = 5;
|
|
|
|
printf("%d + %d = %d\n", a, b, Add(a, b));
|
|
printf("%d - %d = %d\n", a, b, Sub(a, b));
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
} |