dComArk15/Aflevering5-x86-64/fib_iter-ext.c
Christoffer Müller Madsen e2e36f9f0d initial commit
2016-01-03 13:29:05 +01:00

14 lines
265 B
C

#include <stdio.h>
#include <stdlib.h>
extern unsigned long long fib_iter(unsigned long long n);
int main(int argc, char *argv[]) {
unsigned long long n, r;
n = atoll(argv[1]);
r = fib_iter(n);
printf("fib(%llu) = %llu\n", n, r);
return 0;
}