Function Declaration and Implementation
Source
// definition on top
int do_stuff()
{
return 5;
}
Generated AST
Source
int do_stuff();
int do_stuff()
{
return 5;
}
Generated AST
Source
int do_stuff();
int main()
{
return do_stuff();
}
int do_stuff()
{
return 5;
}