Difference between null pointer and dangling pointer?
Answer Posted / vadivel t
Minor correction in my ans #4...
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(ie., address
is valid but no more in the allocated memory pool. It will
be added in the free memory pool).
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is %d called in c?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
Is c is a procedural language?
What is the use of ?: Operator?
What is meant by int main ()?
c language interview questions & answer
What is union and structure?
How are pointers declared in c?
Write a program to reverse a string.
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What is data type long in c?
Explain what are the different file extensions involved when programming in c?
Differentiate between null and void pointers.