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 |
When c language was developed?
what are the 10 different models of writing an addition program in C language?
Why static is used in c?
for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
is assignment operator is arithmatic or not
C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
What is equivalent to ++i+++j?
Which is the best website to learn c programming?
write a c program to find the square of a 5 digit number and print the result.
5 Answers Accenture, Sasken, Vimukti Technologies,