A patient complains of tooth pain which is sharp and stabbing when chewing sweet or cold foods. Pain is relieved by warmth and direct pressure. Your diagnosis is

a cracked tooth.

a carious lesion with pulpal inflammation.

a carious lesion with pulp degeneration.

traumatic occlusion.