Style "B" is referred to as a serial comma, Oxford comma, or Harvard comma. Either is correct, depending on which manual of style you follow. I prefer "B" myself, partly because it avoids possible ambiguity in certain sentences.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.