Message from C, C++ discussions

January 2020

— Unless categoryHead is null


There is a loop so first time is null but when function calls it changes the value of head like you can see in output and during 2nd call it should not be null because first call changged that

— I dont know what the loop looks like

— And am declaring category head to null at the begining of main so it's a local variable

— Copy the code and place it on the site so that someone can fix the error

— Here is the code

— Done

— Why my case is failed here>

— ?

— :D cuz its not right

— That's 2/2 warnings; Sultan is banned!
1: Read the rules: No one will solve your task. Only questions with your code problems to impliment.
2: we don't do that in here

Message permanent page

— /warn Read the rules: no screenshots here, especially of a task.