I believe it's b for the first one because the check will happen when i = 0, and then the i will increment to 1, so the loop will return false from the first run.
For the second one its d because the i will always be => 1 and anything >0 in c is considered true.
Very good problem, I hope I got it right!
Wrong answer :)