Gene locus is a fixed position of a gene on a chromosome. Heterozygotes contain contrasting alleles for an allelic pair. Therefore, if a diploid organism is heterozygous at four loci, it will have four different contrasting characters present at four different loci.
Hence, the types of gametes produced will be =2n where n is number of heterozygous loci. Thus, gametes produced by a diploid organism could be 24=16 .