main function
Just like our life,Every day starts with morning similarly every c program starts with function main().
the compiler starts looking for function main () as soon as you execute your program.
Let me tell you that each function is supposed to return value by default it is integer .if you do not tell compiler anything about return value ,it will give you warning "function should return value"
the compiler starts looking for function main () as soon as you execute your program.
Let me tell you that each function is supposed to return value by default it is integer .if you do not tell compiler anything about return value ,it will give you warning "function should return value"
No comments:
Post a Comment