print fibo big numbers in c++ or c language
问题 I write this code for show fibonacci series using recursion.But It not show correctly for n>43 (ex: for n=100 show:-980107325). #include<stdio.h> #include<conio.h> void fibonacciSeries(int); void fibonacciSeries(int n) { static long d = 0, e = 1; long c; if (n>1) { c = d + e; d = e; e = c; printf("%d \n", c); fibonacciSeries(n - 1); } } int main() { long a, n; long long i = 0, j = 1, f; printf("How many number you want to print in the fibonnaci series :\n"); scanf("%d", &n); printf("