aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-25 23:23:04 -0500
committerCody <cody@codyq.dev>2023-06-25 23:23:04 -0500
commitae4c1af949c7230c07b2a7cc86a2e4031c37f651 (patch)
tree28d2f870bc0d6e57234b20bd9c443dc5d8d7f7e1 /test.c
parent6a59bf6d5345fbe2487e1cc36c36aa6884fcc39d (diff)
downloadsloth-ae4c1af949c7230c07b2a7cc86a2e4031c37f651.tar.gz
getting loopy
Diffstat (limited to 'test.c')
-rw-r--r--test.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/test.c b/test.c
index 3a39c44..26925e0 100644
--- a/test.c
+++ b/test.c
@@ -1,11 +1,13 @@
#include <stdio.h>
-int add(int, int);
-int subtract(int, int);
+long long hehehaha();
+
+long long addz(long long lhs, long long rhs) {
+ return lhs + rhs + 1;
+}
int main() {
- int a = add(5, 2);
- int b = subtract(3, 8);
- printf("%d %d\n", a, b);
+ long long res = hehehaha();
+ printf("%d\n", res);
return 0;
}