+ 2
Can someone say where is the problem please
It is a C project about quadratic equations which calculate the roots but it i don't know why it doesn't work https://code.sololearn.com/cLpSlXrHA3g1/?ref=app
5 Respuestas
+ 3
int main()
{
solveQuad(); // remove void in calling here..
return 0;
}
+ 2
Quoi Runtime thanks for your explanation
+ 1
Fatemeh 'void' is used to specify the return type only when declaring the function (or its prototype). It doesn't make sense to add it while calling the function.
+ 1
Jayakrishna🇮🇳 Thank u
+ 1
You're welcome..
yes. in declaration, return type is needed but in calling just function with parameters are needed..