N
noor.fatma
Hi all,
if I declare a function as one returning int and do not return
anything from the function ,what will it return? for example.
the following function returns the value of sum correctly.
int sum1(int a,int b)
{
int sum;
sum=a+b;
//return sum;
}
Is there some rule defined?
Thanks,
Noor
if I declare a function as one returning int and do not return
anything from the function ,what will it return? for example.
the following function returns the value of sum correctly.
int sum1(int a,int b)
{
int sum;
sum=a+b;
//return sum;
}
Is there some rule defined?
Thanks,
Noor