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 |
can we execute the program with the object file
What is NULL pointer?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is a sequential access file?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Why do we use stdio h and conio h?
what is the difference between #include<> and #include”…”?
What does the format %10.2 mean when included in a printf statement?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
main() { float a=3.2e40; printf("%d",a); }
Why is it usually a bad idea to use gets()? Suggest a workaround.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it