Design Front Middle Back Queue

Can u plz help me why my code is not working I am just getting an error in Linked list insert function don’t know why it is not working . PLease help

problem link>>

My code>

it think there is no use of make pointer to list
you can also make directly list

if you want to use pointer
you can write like
(*l).pop_front();

please make changes in my above code I am not able to understand you make changes in above my code on ide and comment it I will see

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.