Differences between std::array and int arr[size];

Revision en1, by Qualified, 2020-05-27 03:10:50

Is there a difference between std::array like array<int, 2> MyArray = {1, 2}; and int arr[2] = {1, 2}; Time complexities? Different functionalities?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Qualified 2020-05-27 03:35:41 7
en1 English Qualified 2020-05-27 03:10:50 197 Initial revision (published)