BFS traversal of graph

Why not getting the correct output
my code


please make corrections

Hello @coderajay03 i have made correction try now:


if you have any doubt you can ask here:
Happy Learning!!