How can I handle large numbers in C?
#include <stdio.h>
unsigned int fb(int val)
{
if(val == 1)
return 1;
val = val * fb(val-1);
}
int main(int argc, char *argv[])
{
unsigned int rc;
rc = fb(100);
printf("return fib is %lu\r\n", rc);
return 0;
}
If C is not a suitable language then what language people do use to handle such large numbers? I am sure using C will have a benefits like timing, performance.