The objective is to get the series up to the 10th element. I already know what's the problem on this one. the element 17,179,869,184 is really impossible for 4-bit data type like unsigned long long...
Type: Posts; User: Nagasaki
The objective is to get the series up to the 10th element. I already know what's the problem on this one. the element 17,179,869,184 is really impossible for 4-bit data type like unsigned long long...
Oh. That's a big help. I am actually using this sample program as a reference to my real program. Our professor wants us to make a program that will output this using the function call.
1 2 2 ...
ok, I got it. All I need is change %d to %ld. I just want to ask something. If %ld can display a 7-digit number, How I can print a 11-digit number?
So how can I display the right value? By the way, I am using the Turbo C in DOS.
Hi. Could someone help me. I am making a C language program that will display the product of any large number, but I a getting 0 instead! Here is a sample program that I made...
Source code:
...