nchar codes[] ={'s','a','m','p','l','e'};
n
cout << codes[5] << endl; // valid
n
cout << codes[6] << endl;
n // warning C4700: local variable 'codes' used without
n // having been initialized
n // In other words, codes[6] is
out of bound
nchar codes1[] ="sample";
n
cout << codes1[5] << endl; // valid
n
cout << codes1[6] << endl; // valid
n