Priya Sinha writes: > Hi, > > Does GCC give segmentation fault when an attempt is made to access > memory outside the process address space only or can this error be > generated even if an attempt is made to access any area within the > adress spaxce itself, for eg; the code area or the .ro section of the > process? gcc doesn't do any of thse things. SIGSEGV is generated by the operating system kernel whenever an illegal memory access is detected. Andrew.