How long any cell lasts depends on the load it’s connected to. Batteries are rated for their current delivering capacity over time, or “amp hours”. D cells have less bulk (internal) resistance & can provide larger bursts of instantaneous current than C, AA or AAA cells can. A car battery can deliver 800-1000 amps of instantaneous current, but only for about 30 seconds.