In C++, which of the following syntax can be used for instantiating an object named arr of the vecto

来源:互联网 发布:应用程序数据能删除吗 编辑:程序博客网 时间:2024/05/29 04:12

A.vector<int> arr;
B.vector arr<int>;
C.vector(int) arr;
D.vector arr(int);
E.vector arr;

 

选A

原创粉丝点击