I am a noob to C and i have made a helo world type program and when i run it it come up for a second then closes. i do have the renturn 0; in it. heres my code. it looks fine but it comes up for about a second. I am using dev c++ and hav ethe file saved as a .c.
Code:#include <stdio.h> int main() { printf( "hello there!.\n" ); getchar(); return 0; }