CSCI 264 – Assembly Language



CSCI 264 – Assembly Language

Recursion: Fibonacci Numbers

fib(n)= 1, n=2

fragment of C++ code:



extern “C” int fib(int n);

….

int n, result;

cin >> n;

result = fib(n);

cout ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download