Consider
int array[5]{};
std::cout << std::size(array) << std::endl;
This will give me the result of 5.
int array[5]{};
std::cout << sizeof(array) << std::endl;
This will give me the result of 20.
Why is that? What is the difference on size and sizeof?