what will happen if you free a pointer twice after
allocating memory dynamically ?
Answer Posted / karnik ankit
segmentation fault will be created
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
What is the most efficient way to store flag values?
What are the 5 types of organizational structures?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is int main () in c?
Why do we need a structure?
What is #include conio h?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Can a variable be both const and volatile?
How does selection sort work in c?
What are the different categories of functions in c?
What is the difference between a function and a method in c?
What is the difference between int main and void main?
Is null always defined as 0(zero)?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What is the best way to store flag values in a program?