Why p() fucntion return a value? which is returned by call() fucntion . when i called function p() . it has not any return statement , but autometicaly return value of call() fcuntion .
int call(int x)
{
return x;
}
int p(int k)
{
call(4);
}
void solve()
{
cout<<p(9)<<endl; //output is x
}
int main()
{
solve();
}