How many megapixels does the iPhone 5c have?

The iPhone 5c has an 8 megapixel camera on the rear and a 1.2 megapixel camera on the front. It has the same camera as the iPhone 5 and the iPhone 5s.