What will happen when freeing memory twice
Answers were Sorted based on User's Feedback
Answer / veeresh
Memory is the very valuable, if we leave memory freely then
memory will be wasted and cant be used.
Is This Answer Correct ? | 0 Yes | 3 No |
What is meant by recursion?
Explain what is wrong in this statement?
Why is c fast?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
Explain the difference between structs and unions in c?
What is a static variable in c?
What is the difference between null pointer and wild pointer?
What is getch?
What is difference between array and pointer in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Who is the main contributor in designing the c language after dennis ritchie?