How old does a child have to be to ride in a booster seat in the front seat of a car in nc?

I am not sure about NC, but in PA it is based upon weight. Here it is 40 pounds.