Correct option is A
Given:
A, B, and C can complete a work in 36, 54, and 72 days respectively.
A, B, and C started the task together,
A left 8 days before the completion of the work.
B left 12 days before the completion of the work.
Formula used:
Work = Time × Efficiency
Solution:
The efficiency of A =
The efficiency of B =
The efficiency of C =
Suppose work is completed in x days.
Work done by A =
Work done by B =
Work done by C =
Total work done by A, B and C =
∴ The number of days for which C worked is 24.
Alternate Solution:

If A has worked for 8 more days then work done by A in 8 days =
If B has worked for 12 more days then work done by B in 12 days =
Total Work done = 216 + 48 + 48 = 312
Time taken by A, B and C to complete this work = days.
Hence, Time taken by C to complete the work in 24 days.