how does this code achieve SIGSEGV
code:
*p;main(){*p=0;}
--
Regards,
SHUBHAM SANDEEP
IT 3rd yr.
NIT ALD.
--
agreed
On Mon, Dec 17, 2012 at 10:03 AM, marti amritsa...@gmail.com wrote:
Yes Rahul Sharma. you are right. the ans is 1and3 or 2and3
On Sunday, December 16, 2012 11:18:57 PM UTC+5:30, rahul sharma wrote:
A causes B or C, but not both
F occurs only if B occurs
D occurs if B or C
because p is a dangling pointer and that you can't modify what it's
pointing to.
On Mon, Dec 17, 2012 at 7:10 PM, Shubham Sandeep s.shubhamsand...@gmail.com
wrote:
how does this code achieve SIGSEGV
code:
*p;main(){*p=0;}
--
Regards,
SHUBHAM SANDEEP
IT 3rd yr.
NIT ALD.
--