Every firearm, in its specification design, will identify what cartridge magazine is intended for that firearm. They're all over the map. Some of them can come out with two, four, 10 and 20. Others are originally designed for just two and four.
It really depends on the manufacturer or the designer of a firearm, and the firearm itself, what type of cartridge magazine it will be designed for.