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 break in c?

0 Answers  


What do you mean by team??

5 Answers   Student,


What are the 4 data types?

0 Answers  


When the macros gets expanded?

0 Answers  


what is the difference between embedded c and turbo c ?

1 Answers  






List the difference between a 'copy constructor' and a 'assignment operator' in C?

0 Answers   Accenture,


C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

6 Answers   TCS, Wipro,


int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?

5 Answers   CMC,


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

0 Answers  


Is there any data type in c with variable size?

0 Answers  


what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); }

3 Answers   HCL,


What are the different types of pointers used in c language?

0 Answers  


Categories