0
Help to correct a mistake
In line 53 there is a pointer "str" which changes while changing "STUD[p - 1].name". How to correct it? What should I use instead of this pointer? Thanks a lot! https://code.sololearn.com/cP981CTl5gIJ/#c
3 odpowiedzi
+ 2
Unfortunately, I am not a guru in C. the Problem is interesting. But it would be easier to understand if you tried to make a shorter and more complete code, which would show this error.
0
I don't even understand how to do it. Can you show the code, please?
0
It may work if STUD[p-1].name or STUD[p].name would be admissible for change, but they are not