S
Sunil Varma
Hello,
Please see the following code.
int main ()
{
double da = 0.01, db;
db = foo (da);
}
double foo (double a)
{
return a;
}
when i compile this code using gcc i'm getting type-mismatch warnings
but not compilation error.
Please help me in finding out what is going on.
Thanks in advance.
Please see the following code.
int main ()
{
double da = 0.01, db;
db = foo (da);
}
double foo (double a)
{
return a;
}
when i compile this code using gcc i'm getting type-mismatch warnings
but not compilation error.
Please help me in finding out what is going on.
Thanks in advance.