It can appear on the surface, in the weld metal or the area affected by the intense heat.
Explanation:
The major cause of a crack is when internal stresses exceed the strength of the weld metal, the base metal, or both. And once a focal point for these stresses—that is, a stress riser—develops and accumulates, a crack can propagate.