MCPcopy Create free account
hub / github.com/Vector35/debugger / main

Function main

test/src/helloworld_recursion.c:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12int main(int ac, char **av)
13{
14 if (ac == 1) {
15 for (int i = 0; i < 50; i ++) {
16 printf("The %dth fibonacci number is %d\n", i, fib(i));
17 }
18 } else {
19 printf("The %dth fibonacci number is %d\n", atoi(av[1]), fib(atoi(av[1])));
20 }
21 return 0;
22}

Callers

nothing calls this directly

Calls 1

fibFunction · 0.85

Tested by

no test coverage detected