for the first question:the answer:
the return type of the function is char however you are returning seats which is of type char[][3][20] which are not compatible cause the second is like a triple pointer
for the second I didn't understood what is the problem -if any-
Line 161: d and s are type char. Your compiler is warning you of unconventional usage. Everywhere else in your program, d and s are ints.
I don't see a reason why d and s should be type char.
I had already figured out line 155 (I set my program up not to return anything, since the array updates anyways).
And actually, I can't remember why I had set d and s to be char. It must have been from before I edited the code. Anyways, it's fixed now. Thanks guys.