Main() function:
syntax:
main()
{
program statments........
}
The main function indicates the beginning of a c++ program. The statements within this function are the main body of the c++ program.If main() function is not included, the program is not compiled and an error message is generated.
syntax:
main()
{
program statments........
}
nice blog
ReplyDelete