I am a beginner of C. I run the C program, but the window closes too fast before I can see anything. How can I pause the window?
You could also just use system("pause");
system("pause");