what does ‘segmentation violation’ mean?



what does ‘segmentation violation’ mean?..

Answer / vadivel t

Segmentation voilation occurs when we are trying to access
or modify the data in the location, which is resticted to
access. This problem can occur when u r trying to write
data in read only memory or when u r trying to overwrite
the OS files.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

Write a program to generate prime factors of a given integer?

9 Answers   Microsoft,


How do you convert strings to numbers in C?

0 Answers  


Explain why c is faster than c++?

0 Answers  


c program to arrange digits in a no in ascending and descending order

1 Answers  


What is structure and union in c?

0 Answers  






How can I read a binary data file properly?

0 Answers  


for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????

7 Answers  


When the macros gets expanded?

0 Answers  


What are the 4 types of organizational structures?

0 Answers  


can we write a program in c for printf and scanf without using header file stdio.h

1 Answers  


Write a program to generate the first n terms in the series --- 9,11,20,31,...,82

1 Answers   Cognizant,


what is a headerfile?and what will be a program without it explain nan example?

6 Answers   Assurgent,


Categories