Fixed wrong integer type

Changed int64_t to int32_t
This commit is contained in:
Alvin Philips
2021-10-24 03:47:08 +05:30
parent eb32bf719c
commit 3954ceb0e7

View File

@@ -28,7 +28,7 @@ namespace operations_on_datastructures {
* @returns void
*/
void print(const std::vector<int32_t> &array) {
for (int64_t i : array) {
for (int32_t i : array) {
std::cout << i << " "; /// Print each value in the array
}
std::cout << "\n"; /// Print newline