Difference between null pointer and dangling pointer?
Answer Posted / vrushali
free should be able to free as it maintains a table from
where it can start freeing the memory. It is OS related issue.
There is no way in C where we can ensure that the particular
memory is freed a even after free we can access the variable
for some time. In Java, we have a memory deallocator.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Why n++ execute faster than n+1 ?
Explain the difference between call by value and call by reference in c language?
Are comments included during the compilation stage and placed in the EXE file as well?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Explain how to reverse singly link list.
a program that can input number of records and can view it again the record
What does the c preprocessor do?
How can I ensure that integer arithmetic doesnt overflow?
What happens if you free a pointer twice?
Explain how can a program be made to print the name of a source file where an error occurs?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Write a code of a general series where the next element is the sum of last k terms.
How can I convert a number to a string?
What are the disadvantages of a shell structure?