Why after a and I are equal, the next step of ret=1; But the left shows the Execute to evaluate?
Are there any bosses know?
CodePudding user response:
Scope problemsRet=sushu (a);
CodePudding user response:
Sushu () return out of the return value, in the main function to a variable to receive theNo variable receiving, the return value is lost
The main function of ret and sushu ret is not the same variable, wind horses and cattle and
How to read well, about the function part, function return value, mainly is three
1 with the help of a global variable
2 function return val.
3 function pointer/reference parameter of type
With the aid of transfer data files of what are not
CodePudding user response:
Less a ret=sushu (a);Need to ret to accept sushu function return values.