We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
i did the same thing, only difference was declaring the array as static and it gave segmentation fault while by using dynamic allocation it got passed. What's the reason?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
i did the same thing, only difference was declaring the array as static and it gave segmentation fault while by using dynamic allocation it got passed. What's the reason?