The correct option is C a periodic function of period 2
Note that the period of tan(πx2) is ππ2=2. The function nx+n−[nx+n]={nx+n}, where {x} is the fraction part of x. which is periodic with period 1.
Hence, the period of the function f(x) is the LCM of the two periods which is 2.