This is it because we have the prototype as if
int mul(int i)
so the compiler expects a return command in the body of it.However we do not wish to return anything so change the prototype of...
Type: Posts; User: std10093
This is it because we have the prototype as if
int mul(int i)
so the compiler expects a return command in the body of it.However we do not wish to return anything so change the prototype of...
Yes.
What do you mean?
Declaration is equivalent to the prototype.Definition is the implementation of the function.This means the prototype and the body of it.
Variable 'i' is passed as an...
At first you should realize that in the first code i is a variable.In the second part i is a function and it is wrong.What you wanted to write i think is
int multiply(int i)
{
printf("i...