Fixed bug: Now we perform a cast from a C-string by taking its memory address
and casting it to the integral or floating point type.