I don't know how to put this in a form of a question but for example, doesn't a sample array initiation "int array;" hold 5 elements because the elements start from array?
so the array broken down would be:
array , array , array , array , array, right?
if so, then why do I get a page fault error from this code?
any help is appreciated.
for(int x=0; x<=4; x++)
array[x] = x;