This question (53 of Q1QP2) is similar to Q. No. 61 of Q1QP3. Request everyone to put your query of Q53 in that discussion as well, so that the more no. of replies the more chance of visibility & reach. Link to that discussion is at the end.
Yes, you have rightly pointed out when it was mentioned to store the variable in "A" then technically Line 1 is wrong for two reasons 1st) variable named C is declared and not A (then as per the question there won't be any variable named A storing the required data, and any other variable storing that data what A should store wouldn't make sense because one won't be able to retrieve the data since it is not named A)
2nd) C is not Initialized to 0
Then
Line 5 is also wrong because the data should be stored in variable named A as stated!