(a)In strongly basic medium ammonia derivatives being basic will react with acids and will not react with carbonyl compound.(b)In Acidic medium, OH will attack carbonyl group hence pH of a reaction should be carefully controlled.(c)In basic medium, OH will attack carbonyl group hence pH of a reaction should be carefully controlled.(d)In strongly acidic medium ammonia derivatives being acidic will react with acids and will react with carbonyl compound.