Hi ,

I have two query regarding c++ function.In C,By default the default return type of a function is void and of main() is int.Do the same thing happens in c++,and
Secondly ,can we in c++ define a function without declaring it earlier.means is function declaration mandatory in c++ or not.
Hope i will get a response..