Explain the concept of "dangling pointers" in C.
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
A dangling pointer points to memory that has been deallocated. Accessing it causes undefined behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
A dangling pointer points to memory that has been deallocated. Accessing it causes undefined behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
void main() { int a=1; while(a++<=1) while(a++<=2); }
Write a program to generate prime factors of a given integer?
What are the different flags in C? And how they are useful? And give example for each in different consequences?
What is structure and union in c?
What is a Deque?
write a program which will count occurance of a day between two dates.
when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none
Explain the process of converting a Tree into a Binary Tree.
What is the equivalent code of the following statement in WHILE LOOP format?
How can I increase the allowable number of simultaneously open files?
Differentiate between #include<...> and #include '...'
what does data structure mean?