What are dangling pointers? How are dangling pointers different from memory leaks?
So dangling pointer is nothing but a pointer which is pointing a dynamic variable whose scope is already finished. Memory leak: When there is a memory area in a heap but no variable in the stack pointing to that memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define Array of pointers.
What is the purpose of 'register' keyword in c language?
main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail
Why do some versions of toupper act strangely if given an upper-case letter?
What is const keyword in c?
Why do we use int main instead of void main in c?
why the execution starts from main function
what is the advantage of function pointer
16 Answers CMC, CS, Freshdesk, L&T, LG Soft, Matrix, TCS,
The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters
What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }
What is the 'named constructor idiom'?
What is the difference between a free-standing and a hosted environment?