An AA cell is small. If it is Ni-MH then its capacity is 2500mAh.
A sub-C cell is larger than an AA cell so it contains more goodies and therefore a Ni-mH cell has a capacity of 4500mAh.
The chemistry determines the voltage.
The mAh determines how long a charge lasts powering a certain load.