#include <iostream>

int main()
{
	int *p = new int[10]{}; //notice the {}
	for(int *it = p; it != p+10; ++it)
	{
		std::cout << *it << std::endl;
	}
	delete[] p;
}
