Let g(x)=1+x−[x] and f(x)={​−1, x less than0 : 0, x=0 : 1, x greater than 0 ​, where [x] denotes the ​greatest integer less than or equal to x. Then for all x ,f(g(x)) is equal to (a) x (b) 1 (c) f(x) (d) g(x)