Answer
It would shatter or not break.
Work Step by Step
Ionic compounds form stiff, crystalline structures. Thus, they are hard and brittle. This means that when hit with a hammer, an ionic compound would either not break or shatter into many pieces.