• + 0 comments

    I got one problem, I used the same approach but instead of using long int*a=new long intN+1; I took long int arr[N+1]={0}; This gave segmentation fault for few cases..Can anyone explain me why?