How does the C program handle segmentation faults?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function prototype?

774


How pointer is different from array?

807


What does return 1 means in c?

786


What is a void * in c?

827


What are comments and how do you insert it in a C program?

953


write a program to find out prime number using sieve case?

1843


Explain about block scope in c?

848


write a program to print largest number of each row of a 2D array

2079


What is .obj file in c?

831


Why does not c have an exponentiation operator?

798


How are pointers declared in c?

784


What is the difference between local variable and global variable in c?

900


Why calloc is better than malloc?

781


Are the variables argc and argv are local to main?

977


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1737