what will happen if you free a pointer twice after
allocating memory dynamically ?
Answer Posted / manoj
Nothing will happen. program will run fine.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Is c procedural or object oriented?
What is %d used for?
Can main () be called recursively?
What are the data types present in c?
Do you know the difference between malloc() and calloc() function?
What is enumerated data type in c?
What is bin sh c?
What is typedef example?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Why do we use pointer to pointer in c?
Is Exception handling possible in c language?
Explain how many levels deep can include files be nested?
What is the difference between null pointer and wild pointer?
What is the difference between NULL and NUL?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?