This question already has an answer here:
- Shortest code that raises a SIGSEGV 52 answers
I come across a question in a coding competion
"write a code that returns SIGSEGV(Segmentation fault ) " .
Points were given on the basis of length of code. The prgramming languages available were asm,c,c++,java .
I knew c language better and submitted my code as
But others solve it in shorter length than me . How it is possible ? Can any one explain plz.
Platform UBUNTU 10.04