c++ create array with same value code example Example: c++ initialise array int nCount[] = {1, 2, 3, 4, 5};