The correct answer is: C. One end fixed and other end hinged.
A pile is a long, slender structural element that is driven into the ground to support a structure. The end conditions of a pile are the conditions at the top and bottom of the pile. The end conditions determine the way in which the pile will deform and transmit loads to the ground.
In the case of a pile with one end fixed and the other end hinged, the fixed end will not move in any direction, while the hinged end will be free to rotate. This type of end condition is often used for piles that are supporting a heavy structure, as it provides the most resistance to movement.
The other options are incorrect because they do not accurately reflect the end conditions of a pile. Option A, both ends hinged, would mean that the pile would be free to move in all directions, which would not be very stable. Option B, both ends fixed, would mean that the pile would not be able to move at all, which would not be very practical. Option D, one end fixed and other end free, would not be very stable, as the pile would be free to rotate at the free end.
In conclusion, the correct answer to the question “While designing the pile as a column, the end conditions are nearly” is C. One end fixed and other end hinged.