Concept:The number of digits in a positive integer N is given by ⌊log10N⌋+1.Explanation:We need the number of digits in 312. Compute log10(312)=12×log103. Given log103=0.4771, so 12×0.4771=5.7252. The floor (integer part) is 5. Number of digits = 5+1=6.Answer:B. 6