You are not logged in. Please login at to post your questions!


segmentation error in compiler and parsers

my code is giving correct output on ideone but when submitting here it says Runtime error(SIGSEGV)..please can anyone help!

asked 12 May '14, 00:38

preetiin90's gravatar image

accept rate: 0%

It is happening because you might be accessing some part of memory which is not available to you.
For example, you may be accessing some element of array which is actually not there.
Suppose you have declared an array a[100] and you are trying to access element a[101] in your program.


answered 12 May '14, 02:04

rohanj2507's gravatar image

accept rate: 100%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 12 May '14, 00:38

question was seen: 994 times

last updated: 12 May '14, 02:04