Possible Duplicate:
Nested function in C
In C, if i wrote a program in this structure:
main ()
{
  int function1(...)
  {
    ....
  }
}
function 2()
{
   function1(...)
}
It is possible to call function1 from function2 that was written inside the main function? and also: In C all the functions are global? or there is some restriction in some situation that from one function you cant call another one?
 
     
     
    