Quote:
Originally Posted by musicmancanora4
but i have intialized the array in my main
But you may be accessing the index of an array which may not exist.