问题 选择题 已知函数f(x)=log2(1-x), x≤0f(x-1)+1, x>0,则f(2012)=( )A.2008B.2010C.2012D.2011 答案 根据题意f(2012)=f(2011)+1=f(2010)+2=f(2009)+3=…=f(0)+2012=log21+2012=2012,故选C.