单项选择题

有以下程序段:
x=reshape(1:12,3,4);
m=0;
n=0;
for k=1:4
if x(:,k)< =6
m=m+1;
else
n=n+1;
end
end
则m和n的值分别是()。

A.6 6
B.2 1
C.2 2
D.1 2