ok

Code:
while(strcmp(scanf("%s",qui),quit) != 0)

this is within one function
i have a local variable called char qui[3];

and then i have a global variable called quit[] = "quit"

but i my while statement will not work. can someone help

its within a function and what im trying to do is that when the word quit is scaned i want it to exit the while loop.
can someone help