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 correct code to have following output in c using nested for loop?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is sizeof return in c?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
program for validity of triangle from 3 side
how to write palindrome program?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What is the difference between Printf(..) and sprint(...) ?
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?
What is c programming structure?
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;
What are the uses of a pointer?