try this line of code beforeCode:return 0;i also want to mention since you are a beginner in C, this is an ok way to see what your doing, otherwise it's not safe to use on advance projects.Code:system("pause");
https://stackoverflow.com/questions/1...hy-is-it-wrong