Function and variable mustn't have the same name.Code:char getMyGrade() { char getGrade; /* */ getGrade = globalGrade; return getGrade; }
And you forget to return a char variable.
|
Results 1 to 6 of 6
Hybrid View
|
Click Here to Expand Forum to Full Width |