How does the C program handle segmentation faults?
Answers were Sorted based on User's Feedback
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 |
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 |
What is break in c?
What do you mean by team??
What are the 4 data types?
When the macros gets expanded?
what is the difference between embedded c and turbo c ?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
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
int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?
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
Is there any data type in c with variable size?
what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); }
What are the different types of pointers used in c language?