(b) When two identical balls collide head on elastically, they exchange their velocities. Hence when $A$ collides with $B$, $A$ transfers its whole velocity to $B$. When $B$ collides with $C$, $B$ transfers its whole velocity to $C$. Hence finally $A$ and $B$ will be at rest and only $C$ will be moving forward with speed $v$