Solutions:
When the bob swings from A to B, the kinetic energy declines and the potential energy increases until it reaches its maximum at B, where it is momentarily at rest.
From B to A, the potential energy transforms into kinetic energy once more, and the process repeats.
As a result, the bob has potential energy at extreme positions B or C and kinetic energy at resting position A when swinging.
At an intermediate position (between A and B or A and C), the bob possesses both kinetic and potential energy, and the sum of both energies (i.e. total mechanical energy) remains constant throughout the swing.