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

What is union in c?

0 Answers  


Three major criteria of scheduling.

1 Answers  


Why is c fast?

0 Answers  


What are qualifiers in c?

0 Answers  


Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }

4 Answers   Subex,


Why we not create function inside function.

0 Answers  


What are the types of arrays in c?

0 Answers  


What are # preprocessor operator in c?

0 Answers  


Write a program to generate random numbers in c?

0 Answers  


What is calloc() function?

0 Answers  


Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.

8 Answers  


Give basis knowledge of web designing ...

0 Answers   HCL,


Categories