diff --git a/c-programming/experiments/floatscan-experiment.c b/c-programming/experiments/floatscan-experiment.c index 776cf5a..683eb05 100644 --- a/c-programming/experiments/floatscan-experiment.c +++ b/c-programming/experiments/floatscan-experiment.c @@ -42,6 +42,7 @@ #include #include #include +#include /* wrapping code --- beginning */ const char* fgetc_ptr = NULL; @@ -592,6 +593,7 @@ int main(int argc, char** argv) { printf("Decimal floating-point format: %Lf\n", result); printf("Double floating-point format : %Lg\n", result); printf("Hexadecimal form : %La\n", result); - return 0; + + return EXIT_SUCCESS; } /* test code --- end */