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 |
What is the size of a union variable?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Determine if a number is a power of 2 at O(1).
What is I ++ in c programming?
What is Generic pointer? What is the purpose of Generic pointer? Where it is used?
Can a program have two main functions?
how to construct a simulator keeping the logical boolean gates in c
What are control structures? What are the different types?
union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }
What does stand for?
What is the use of volatile?
What is printf () in c?