Solution to the flash of running result of dev C / C + +

1, return 0; Before adding getchar ();

(getchar (); Char a=getchar(); char a=getchar(); . But if you have an input statement, you need to add more getchar(); .

stdlib.h> , in return 0; Before adding system (” pause “); Let it press any will continue.

Read More: