what will happen if you free a pointer twice after
allocating memory dynamically ?

Answer Posted / zan

segmentation fault

Is This Answer Correct ?    19 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you restore a redirected standard stream?

587


What are the types of variables in c?

578


What is New modifiers?

665


Subtract Two Number Without Using Subtraction Operator

352


Explain what is the difference between null and nul?

650






What is the use of static variable in c?

593


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1652


What's the difference between constant char *p and char * constant p?

651


Not all reserved words are written in lowercase. TRUE or FALSE?

719


How can a program be made to print the name of a source file where an error occurs?

727


What is an arrays?

650


difference between object file and executable file

6090


Can main () be called recursively?

625


How do you list a file’s date and time?

628


Explain how can I pad a string to a known length?

651