Does there exist a continuous onto function from :
$(\Bbb Q)\cap [0,1]\to \Bbb R\setminus \Bbb Q\cap [0,1]$?
$(\Bbb R\setminus \Bbb Q)\cap [0,1]\to \Bbb Q\cap [0,1]$?
(1) is false because $(\Bbb Q)\cap [0,1]$ is countable whereas $ \Bbb R\setminus \Bbb Q\cap [0,1]$ is not and image of a countable set is countable.
(2) .I don't know about this.Please give some hints on this question.I am clueless here.
EDIT:In the question given as duplicate,I am unable to understand how to map each irrational number to a rational number.Please give some details.