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

Where does the name "C" come from, anyway?

645


What is union in c?

639


How would you obtain the current time and difference between two times?

730


Explain how can I convert a number to a string?

650


How do you determine whether to use a stream function or a low-level function?

649






What are pointers? Why are they used?

632


What is preprocessor with example?

589


i want to know the procedure of qualcomm for getting a job through offcampus

1940


Explain do array subscripts always start with zero?

761


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2745


Is file a keyword in c?

503


Do you know the use of 'auto' keyword?

662


Explain how many levels deep can include files be nested?

629


Explain how do you list files in a directory?

618


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2985