What is the FFT of a square wave?
In the frequency domain, the overall average of a signal is its content at DC or 0Hz -- so that's why there's a peak at 0Hz. The FFT of a square wave that is centered on 0V has energy at every odd harmonic, starting at 1.
Is square wave continuous?
Square waves are discontinuous functions.