单项选择题

设存在数组a,其长度为Len,下列哪项操作是将a中元素复制到数组b中()

A.reverse(a+a,Len,b);
B.sort(a,a+Len,b);
C.find(a,a+Len,b);
D.copy(a,a+Len,b);

微信扫码免费搜题