+ 1
how to call a function in another function?
if we have two functions one is main function and the other is anonymous n we want to call that anonymous function in main how it can be done?
1 ответ
+ 2
void anonymous(); // function declaration
main()
{
anonymous(); // function call
}
void anonymous()
{
statements;
}
Just you have to write function name and put (); after that ☺️