Day 37
Calling functions from a main function is quite simple take this example code;
void main()
{
calling()
}
void calling()
{
cout<<("Hello world");
}
this calls the 'calling' function trough the main function making it more simple to make more complex programs. This is a factor as you are able to send data from the other functions for example;
void calling(int x);
void main()
{
cout<
No comments:
Post a Comment