Ok guy's from my understanding you can call the main() function from any other function are i'm correct in saying this


example.


int displaymenu(int a)
{

// main menu is display


now return back to main();



}




main()
{

displaymenu();




}
would the above work if so why and if not why