Segmentation Fault (Core dumped)

+1 vote
asked Jan 31, 2019 by Vishal Hugar (130 points)
When i want to print something stored in an array, the compiler simply says : Segmentation Fault (Core Dumped).

1 Answer

0 votes
answered Jan 31, 2019 by Admin (4,280 points)
It is caused when accessing invalid memory.
Share your source code. It will help to pin point exactly which line of code is causing segmentation fault.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...