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

What is the difference between c and python?

800


What is data types?

806


What should malloc(0) do?

802


What does double pointer mean in c?

772


Explain bitwise shift operators?

903


Do pointers take up memory?

845


Are pointers really faster than arrays?

738


What is a constant and types of constants in c?

838


What is the right type to use for boolean values in c?

802


Explain what are the different data types in c?

938


What is cohesion in c?

735


Explain the bubble sort algorithm.

847


What is the default value of local and global variables in c?

753


What are reserved words with a programming language?

825


Is c high or low level?

775