Tuesday, June 28, 2011

what is return 0 ; ???



A way to exit a function
return 0, in this case, means that the main() function terminates normally and returns to the Windows operating system.
Right brace }
Indicates end of main has been reached
 Example:
#include <stdio.h>

int main()
{

    printf("Welcome To Huzaifa's Blog\n");

    return 0 ;

}

No comments:

Post a Comment