Why am I getting segmentation fault on this code
- Posted by rneu Jul 14, 2017
- 1501 views
In a program I find that following code produces segmentation fault on compiling, even though it works well on interpreter:
aseq = tail(tail(aseq))
I am using above code to remove first 2 items of a sequence.
Why does this code produces segmentation fault after compiling?