View Single Post
Old May 5th, 2008, 1:41 AM   #2
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 416
Rep Power: 3 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
Re: Implicit returns

I am not 100% sure but here is what I think it is:

void foo()
{
  doSomething()
}

int bar(int a)
{
 return a *a
}

int main()
{
  foo();
  bar(2);
  return 0;
}
In the above example I think it could be said that foo() has an implicit return. After execution of doSomething() completes foo() "returns" to main and bar() is called. Hopefully this helps.
__________________
JG-Webdesign
Wizard1988 is online now   Reply With Quote