what does ‘segmentation violation’ mean?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why static variable is used in c?

564


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1731


What is the difference between scanf and fscanf?

672


What is a #include preprocessor?

625


How do you convert strings to numbers in C?

715






Which is an example of a structural homology?

793


Can true be a variable name in c?

562


What is uint8 in c?

650


The file stdio.h, what does it contain?

672


What is the difference between call by value and call by reference in c?

623


Here is a good puzzle: how do you write a program which produces its own source code as output?

602


Do pointers store the address of value or the actual value of a variable?

615


What is function prototype?

616


How can you increase the allowable number of simultaneously open files?

601


How can I get the current date or time of day in a c program?

655