Method 1 :
Use character array to store large number .
Define addition & subtraction function for the following representation of
number .
Using addition & subtraction number u can write another operation for the
library e.g. multiplication , division , modulus  etc .

Method 2 :
Use Linked list to store the number for space efficiency .
Node structure is like this .

struct node {
    char arr[20] ;
    struct node * next ;
}

Do the rest same .

-- 
*With Regards :*

Ravinder Kumar
B.Tech Final Year
Computer Science and Engineering
MNNIT Allahabad

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to