I have read many answers on stackoverflow and codereview that says we should not use C style arrays with C++. What is reason for it ? If I use std::Array instead of C style array, will it impact on speed/performance ?
In my organization, entire application is written in C++. But only C style arrays are used.
std::arrayover a C-style array, and practically I doubt it as well (as long as you don't pass the array by value, which is possible withstd::arraybut not with a C-style array).int arr[n]. Is it possible with std::array ?std::vector.