Electrophilicities of carboxylic acid derivatives
Background

When a carbonyl compound reacts with a nucleophile we form a tetrahedral intermediate.  Since the carbonyl carbon becomes $\ce{sp^3}$ hybridized in the tetrahedral intermediate there is no significant resonance stabilization - the various tetrahedral intermediates have (approximately) the same energy.  However, strong resonance effects can occur in the starting carbonyl compound, potentially stabilizing the carbonyl compound.

In other words, while a substituent attached to the carbonyl carbon can stabilize the starting carbonyl compound, it should have little effect on the relative energetic position of the tetrahedral intermediate.

If we place the carbonyl compound and the tetrahedral intermediate on a reaction coordinate we can see that anything that stabilizes the carbonyl compound will increase the activation energy for reaction, slowing down the reaction rate.



Below are the resonance structures we can draw for our carbonyl compound.



If structures II and  III contribute significantly to the overall description of the compound, then we would expect that carbonyl compound to be more stable, lower in energy, than a carbonyl compound where structures II and III contribute less.  

Answer

Three of your compounds are esters, one is an amide.  We know that resonance structure III is more important in an amide than in an ester (due to electronegativity differences, positive charge on nitrogen is better than positive charge on oxygen).  Therefore the amide (B) will react the slowest.

Now to separate the three esters.  You are right that ester C will be the most reactive.  This is because the inductively electron withdrawing chlorine substituent destabilizes resonance structure II.  

In compound D we can draw stabilizing resonance structures like the following;  the para-hydroxy substituted aromatic ring is very effective at moving electron density towards the electron deficient carbonyl carbon thereby stabilizing it.



The methyl group in compound A also donates electron density to the carbonyl carbon, but not nearly as effectively as the aromatic ring.

Therefore our overall order of carbonyl reactivity is C > A > D > B