#include <stdlib.h>
int main() {
    int errno = 0;
    char *test = "123.e+99999999999999";
    char *end;
    double value = strtod(test, &end);
    printf("Value of %s is %g\n", test, value);
    printf("Bytes consumed: %d\n", end - test);
    printf("Errno: %d\n", errno);
}

