I'm using "mathlink.h" to call Mathematica from a C program. I send a computation to Mathematica and its return result is a very big number (100 digits). Hence, I want to read that number as a string.
How can I do it using MathLink?
You could simply wrap your computation in
MLPutFunction(link, "ToString", 1);
and convert your result to a string. After that you can use