How does the C program handle segmentation faults?

Answers were Sorted based on User's Feedback



How does the C program handle segmentation faults?..

Answer / nashiinformaticssolutions

Segmentation faults occur when invalid memory is accessed. Use debugging tools like gdb to analyze.

Is This Answer Correct ?    0 Yes 0 No

How does the C program handle segmentation faults?..

Answer / glibwaresoftsolutions

Segmentation faults occur when invalid memory is accessed. Use debugging tools like gdb to analyze.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4

1 Answers  


Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


What is the difference between functions abs() and fabs()?

0 Answers  


Why do we use int main?

0 Answers  


What are qualifiers in c?

0 Answers  


write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language

18 Answers   IT Park, TCS,


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

0 Answers  


how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...

3 Answers  


what is the basis for selection of arrays or pointers as data structure in a program

0 Answers   TCS,


write a c program in such a way that if we enter the today date the output should be next day's date.

0 Answers  


Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.

2 Answers   Infosys,


Differentiate between static and dynamic modeling.

0 Answers   Wipro,


Categories