From: Abhishek on 5 Aug 2010 19:23
Initializing an array via a variable is restricted in C++.
I checked it in GNU compilers to my astonishment that this code really
Also suppose an array is declared to hold 5 data.i.e.
Now, if you try to assign value to array element even greater than 5,
the compiler doesnt have a problem.
Kindly solve the doubt as to what is going wrong.
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]