#include <iostream>
int main() {
int a[9];
std::cout << "Memory taken up by a: " << sizeof(a) << '\n' ;
std::cout << "Memory required for a 10-element array: " ;
std::cout << 10 * sizeof(int) << '\n';
std::cout << "# of elements: " << sizeof(a) / sizeof(a[0]) << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CglpbnQgYVs5XTsKCQoJc3RkOjpjb3V0IDw8ICJNZW1vcnkgdGFrZW4gdXAgYnkgYTogIiA8PCBzaXplb2YoYSkgPDwgJ1xuJyA7CglzdGQ6OmNvdXQgPDwgIk1lbW9yeSByZXF1aXJlZCBmb3IgYSAxMC1lbGVtZW50IGFycmF5OiAiIDsKCXN0ZDo6Y291dCA8PCAxMCAqIHNpemVvZihpbnQpIDw8ICdcbic7CgkKCXN0ZDo6Y291dCA8PCAiIyBvZiBlbGVtZW50czogIiA8PCBzaXplb2YoYSkgLyBzaXplb2YoYVswXSkgPDwgJ1xuJzsKfQ==