#include <iostream>
#include <array>
#include <iterator>
#include <string.h>
using namespace std;

template<typename T> void ZeroIt(T& value)
{
	memset(&value,0,sizeof(value));
}

int main() 
{
	//создать тестовый массив
	std::array<int,3> alpha={2,4,5};
	
	std::ostream_iterator<int> out(std::cout," ");
	//напечатать тестовый массив
	std::copy(alpha.begin(),alpha.end(),out);
	//перевести строку
	std::cout << std::endl;
	//обнулить массив
	ZeroIt(alpha);
	//нвпечатать еще раз для контроля
	std::copy(alpha.begin(),alpha.end(),out);
	
	return 0;
}