WHAT IS THIS CONDITION IN IF PART

if (!isFull())
{
A.arr[++A.top] = c;
}

Hey @dhruvilcodes it means that if your A is not full then you will insert c at arr(A.top+1) index
Hope this will help you :slight_smile:

i just want to ask that there is no assignment or comparision still it is working like if(a==2)

Hey @dhruvilcodes please share entire code as I am not getting your doubt .

in this i am not gettinh if condition part there is no assignment operator still it is working

Okay I got it , in it there’s an ! Operator which equals to not. In this line isfull() is a function which returns true or false so !true is equal to false and vice verse :slight_smile:

so 0 means false and 1 means true>
?

Exactly @dhruvilcodes you got it right :slight_smile:

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.