if (!isFull())
{
A.arr[++A.top] = c;
}
WHAT IS THIS CONDITION IN IF PART
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
i just want to ask that there is no assignment or comparision still it is working like if(a==2)
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
so 0 means false and 1 means true>
?
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.