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 is the difference between memcpy and memmove?
I need a sort of an approximate strcmp routine?
What is formal argument?
What is an auto variable in c?
Explain how do you search data in a data file using random access method?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Is there a way to compare two structure variables?
What are the benefits of c language?
Why doesn't C support function overloading?
What was noalias and what ever happened to it?
What is the collection of communication lines and routers called?
What is string length in c?
what will be the output for the following main() { printf("hi" "hello"); }
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
Write a program to print numbers from 1 to 100 without using loop in c?