已知函数f(x)=1og3(x+1)+log3(5-x),则f(x)的()

已知函数f(x)=1og3(x+1)+log3(5-x),则f(x)的()
A、最大值为3
B、最大值为9
C、最大值为2
D、最小值为2
【正确答案】:C