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.

what is meant by segmentation erorr

0 votes
asked Aug 16, 2019 by Shashi Kiran (120 points)

1 Answer

0 votes
answered Aug 20, 2019 by SWEngineer (300 points)
It usually means you have tried to access a pointer with invalid content. In other words, your program tries to read or write where it has no permissions.
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.
...