Can scanf read from a stored variable?
I'm working on a problem that requires the addition of two large integers. It does a looping thing until it accomplishes its goal. However, once the integer's number of digits exceeds 10, we run into problems, the integer starts going haywire and making up values, and is no longer is accurate.
So, I was thinking about storing it as an array or something.
However, the user is only required to enter 1 integer. The second integer is the reverse of the user's input.
So can I use scanf or something like it to read from a variable that is already stored, so I can put it into an array using a for loop?
thanks!