Home > Programming > Functions using the "C" programming language > example24.c |
/*
In this example we demonstrate the main() function.
*/
#include <stdio.h>
#include <conio.h>
/*
main() function - No parameters, no return value
*/
void main() /* void main(void)
*/
{
printf("This is the main function.\n");
}
© 2004 Jim Valavanis