What you ask for cannot be done directly. However, there are different things that you can do there, starting with creating a local array initialized using aggregate initialization, and then memcpyaccording to your array (valid only for POD types) or using higher-level libraries such as boost::assign.
int array[10];
{
int tmp[10] = { 1, 2, 3, 4, 5 }
memcpy( array, tmp, sizeof array );
}
, boost::assign, .