test help

hey guys i have a test tomorrow and i have old tests i need you to help me if this is correct or not first picture : http://prntscr.com/ioxuf0
and second picture : http://prntscr.com/ioxv0f
1.c, the behaviour is undefined.
2, a for loop has the form for(initialization; condition; increment) ¿can you identify those parts in the code with the while?
3, notice that some cases don't have a break that'll make the code fall through. Consider that when converting to if-else, and don't worry about repeating code.
Topic archived. No new replies allowed.