Difference between null pointer and dangling pointer?
Answer Posted / vadivel t
To Sourisengupta Question.
free() shall free the memory which is allocated dynamically.
But afrer the free() function being called,the pointer
which u r passing to free() as an argument, shall point to
the same base address, which is no more valid.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what value is returned to operating system after program execution?
Add Two Numbers Without Using the Addition Operator
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is the difference between a free-standing and a hosted environment?
Can the sizeof operator be used to tell the size of an array passed to a function?
can we change the default calling convention in c if yes than how.........?
What is the difference between local variable and global variable in c?
What is a keyword?
What are the __date__ and __time__ preprocessor commands?
How do we declare variables in c?
What are pointers in C? Give an example where to illustrate their significance.
Does * p ++ increment p or what it points to?
How do you construct an increment statement or decrement statement in C?
What is substring in c?
What do you mean by keywords in c?