frank wrote:irfanhb7 i bet ur on windows and that the cmd prompt just blinks right
well u can use getch to have it stop till u press a key
but that has nothing to do with return, u still need return
Actually, you don't have to return anything if you specify your function as "void".
irfanhb7 wrote:Oh ! You posted a tutorial.
I have one question and pls don't get angry.
Can we use void main() instead of int main and getch() instead of return 0 ?
Answer to question 1: http://www.gidnetwork.com/b-66.html