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 |
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What is clrscr in c?
What is the use of pragma in embedded c?
is it possible to change the default calling convention in c ?
write a program to generate 1st n fibonacci prime number
#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }
12 Answers Capital IQ, Sasken,
What is pointers in c?
Explain what are header files and explain what are its uses in c programming?
What are control structures? What are the different types?
what is the difference between embedded c and turbo c ?
Write a C program in Fibonacci series.
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.