Skip to main content
Logo image

Section 27.5 Arbitrarily Large Integers

Activity 27.1.

Recall that the data types int and long int have limits on the size of numbers they can store. Why again is this so?
Please paste your text submission into the box below, then select Run to submit it:
In order to be able to store arbitrarily large integers we’ll create a linked list of digits. This will allow us to store as many digits as we’d like (up to the amount of memory available in the computer of course.)

Activity 27.2.

Define a structure struct digit suitable for this purpose.
When you are done, please paste your structure into the code submission box below: