Correct choice is (c) L+3
To explain I would say: We know that we can have at most L-1 local maxima and minima in the open interval 0<ω<π. In addition, ω=0 and π are also usually extrema. It is also maximum at ω for pass band and stop band frequencies. Thus the error function of a low pass filter has at most L+3 extremal frequencies.