Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

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 (5,100 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.
...