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 |
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is structure data type in c?
Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);
What does struct node * mean?
What is derived datatype in c?
Describe explain how arrays can be passed to a user defined function
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
Can the curly brackets { } be used to enclose a single line of code?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the difference between exit() and _exit()?
Find MAXIMUM of three distinct integers using a single C statement
Why c is called top down?