Smoking inside a vehicle with a person younger than 18 years of age is:

In California, it is illegal to smoke in a vehicle at any time when a minor is present.
DMV Writen Test