Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How does the C program handle segmentation faults?

Answer Posted / nashiinformaticssolutions

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 are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1185


What is structure padding in c?

1135


What is the use of in c?

1030


What is the difference between functions abs() and fabs()?

1157


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

1053


Can you write the function prototype, definition and mention the other requirements.

1137


What is the stack in c?

1154


Why is c used in embedded systems?

1123


What is dynamic dispatch in c++?

1064


How can I ensure that integer arithmetic doesnt overflow?

1172


Write a program for Overriding.

1160


What is type qualifiers?

1134


Explain the difference between ++u and u++?

1138


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

1020


What is the use of putchar function?

1057