Please suggest me about C programming

I am practicing C. I write my code in code block. Sometime it does not work properly… no error found but program not run… what i can do now??

Print things out at various points and see what the output is