The characteristic that jazz and rock 'n' roll share is:
A. Both are influenced by African rhythms.
Jazz incorporates various elements from African musical traditions, including complex rhythms and improvisation. Similarly, rock 'n' roll also draws on African American musical styles, showcasing rhythms that have their roots in African music.
If you require further comparisons or a detailed analysis, feel free to ask!