How can I check if an element in an array is equal to something in C? [closed]

You did not specify a type for the parameter of your function.
Likely types are int* or char*, but you haven’t given enough information to perfectly deduce the type.

bool checkWin(/*You MUST specify a type here!*/ spaceleft)

Example: bool checkWin(int* spaceleft)

Browse More Popular Posts

Leave a Comment