What will happen when freeing memory twice

Answers were Sorted based on User's Feedback



What will happen when freeing memory twice ..

Answer / kav_029

May leads to dangling pointer

Is This Answer Correct ?    9 Yes 2 No

What will happen when freeing memory twice ..

Answer / veeresh

Memory is the very valuable, if we leave memory freely then
memory will be wasted and cant be used.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

In c language can we compile a program without main() function?

0 Answers  


Explain what a Binary Search Tree is.

3 Answers  


Explain the difference between call by value and call by reference in c language?

0 Answers  


how to execute a program using if else condition and the output should enter number and the number is odd only...

0 Answers  


change to postfix a/(b+c*d-e)

8 Answers   Value Labs,


What are the disadvantages of a shell structure?

0 Answers  


5. What kind of sorting is this: SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort

2 Answers   Accenture,


where do we use structure pointer?

1 Answers  


What is the use of volatile?

0 Answers  


i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }

2 Answers  


Are enumerations really portable?

0 Answers  


with out using main how to execute the program?

2 Answers  


Categories