Explain the concept of "dangling pointers" in C.

Answers were Sorted based on User's Feedback



Explain the concept of "dangling pointers" in C...

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

Explain the concept of "dangling pointers" in C...

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

Post New Answer

More C Interview Questions

What is table lookup in c?

0 Answers  


How to write a code for reverse of string without using string functions?

0 Answers   TCS,


What is an array in c?

0 Answers  


What are unions in c?

0 Answers  


Explain about C function prototype?

0 Answers  


What is the method to save data in stack data structure type?

0 Answers  


How do you determine whether to use a stream function or a low-level function?

0 Answers  


write a c prog for removing duplicate character from an array and sorting remaining elements using a single array

1 Answers  


what does ‘Bus Error’ mean?

1 Answers   ABC,


what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

2 Answers   NSN,


what is the output of below int n=10; (n++)++; printf("%d",n);

3 Answers  


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

0 Answers  


Categories