If f:R→R is given by f(x)=1;ifxisrational0;ifxisirrational. then, (fof)(5) is
1
-1
3
0
Explanation for the correct answer:
Let, x=5
Now, (fof) (5) can be written as,
∴fof(5)=f(f(5))=f(0)∵f(5)isirrational=1∵f(0)isrational
Hence, the correct answer is an option (A).