What is the meaning of The_heck?

Used for emphasis after an interrogative word.

Intensifies a phrasal verb; goes between the base verb and its modifier.

Source: wiktionary.org