# If [] denotes the greatest integer function , then the integral $\;\int \limits_{0}^{\pi} [cos x] dx\;$ is equal to :

$(a)\;\large\frac{\pi}{2} \qquad(b)\;0\qquad(c)\;-1\qquad(d)\;-\large\frac{\pi}{2}$