Queue using LL implementation

In this lecture , after making the class of queue using LinkedI list implementation . We have made a object of class queue but why we have write as " queue q(10) " as in the class there is no parameterized constructor and the code is showing error at this line and I don’t know why your code run smoothly in this video .

ya if u write queue q(10) then there is an error

so u will have to write queue q
or make a parameterised constructor taking int argument

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.