i am posting the code. Please tell me why is one of the function defintion working and one is not??even though they both look identical!
i have written the comments also like which one is working and which one is not. Please have a look at them and give me the reason!
student(char *n,char *r)
friend void sort(student ); //Why This Doesn't Work?
friend void sort(student *); //This Works Perfectly??..
void sort(student a) //Why Not Working??