#include <iostream>
int main() {
int array [] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
std::cout<< "Size of array: "<< sizeof(array)<< '\n';
std::cout<< "Number of elements in array: "<< sizeof(array) / sizeof(array[0])<< '\n';
int *array_ptr = array;
std::cout<< "Size of array pointer: "<< sizeof(array_ptr)<< '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CglpbnQgYXJyYXkgW10gPSB7MCwgMSwgMiwgMywgNCwgNSwgNiwgNywgOCwgOX07CglzdGQ6OmNvdXQ8PCAiU2l6ZSBvZiBhcnJheTogIjw8IHNpemVvZihhcnJheSk8PCAnXG4nOwoJc3RkOjpjb3V0PDwgIk51bWJlciBvZiBlbGVtZW50cyBpbiBhcnJheTogIjw8IHNpemVvZihhcnJheSkgLyBzaXplb2YoYXJyYXlbMF0pPDwgJ1xuJzsKCQoJaW50ICphcnJheV9wdHIgPSBhcnJheTsKCQoJc3RkOjpjb3V0PDwgIlNpemUgb2YgYXJyYXkgcG9pbnRlcjogIjw8IHNpemVvZihhcnJheV9wdHIpPDwgJ1xuJzsKCXJldHVybiAwOwp9