Why can't I use EXIT_SUCCESS instead of 0 in the return statement in Visual Studio Code?
Advertisements Why can’t I use EXIT_SUCCESS instead of 0 in the return statement in Visual Studio Code? I get the error: id "EXIT_SUCCESS" is not defined #include <stdio.h> int main(void) { puts("Thanks for help"); return EXIT_SUCCESS; /*problem*/ } >Solution : The definitions of the EXIT_SUCCESS and EXIT_FAILURE macros are in the "stdlib.h" header file, so… Read More Why can't I use EXIT_SUCCESS instead of 0 in the return statement in Visual Studio Code?