Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the
maximum integer number that can be stored in memory is 2147483647 it is not possible to use
primitive data types in order to add very large whole numbers. For this reason, you are required to
represent very long integer numbers using arrays of chars and then implement a function that can
add two such numbers.
Test your function by performing the additions shown below:
459274957162030 + 0027998725610304 = ________________
123450928482350 + 2784910000000000 = ________________
Betty96 0 Newbie Poster
David_50 13 Junior Poster in Training
Betty96 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Betty96 0 Newbie Poster
Betty96 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Betty96 0 Newbie Poster
Betty96 0 Newbie Poster
Maritimo 15 Junior Poster in Training
Betty96 0 Newbie Poster
David_50 13 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.