Statement1-
let the code be abcde-
so, a=d and b=e
therefor, abcab
Now, c can be A/B/C, keeping in mind the given rules.
knowing a and b allows us to determine e, which equals b.
However, we still cannot uniquely determine e.
So, statement1 is insufficient.
Statement2-
exactly 1 C in code.
So, if C appears it must precede B.
C can be at positions- a,c
This also doesn't uniquely determine the 5th letter.
So, statement 2 is also insufficient.
Combining the 2 statements-
Case1- a=C
therefor, CCcCC.
the above is invalid as C cannot precede another C.
Case2- b=C
therefor, aCcaC
Valid only if c adheres to the rule. If c=B, the preceding letter must be C.
Case3- c=C
therefor, abCab
if c=C, remaining letters a and b must be A and B respectively.
Combining these observations e=b, which is uniquely determined.
therefor, 5th letter is C.
Ans- C