Jitendra Tembhurne <kits.jitendra at gmail.com> writes: Dear Sir/ Madam, When I run the program using GMP it gives me the error " realloc() : invalid pointer ". Please, help me to resolve this error. How do you suggest that we help? You probably need to debug "the program", whatever it might be, to find this bug. -- Torbjörn