https://ide.codingblocks.com/s/163308 in output all 0 ?
$ Implementation Of Circular Array Based Queue - [C++]
Hi @hrishikeshjanjal
You were getting 0 as output in isfull() function in the return statement you were missing a equal sign.
You have to use this :
bool isfull(){
return this->cs==this->ms;
}
Here is your corrected code :
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.