What is a memory leak? How to avoid it?
Memory leak occurs when programmers create a memory in heap and forget to delete it. ... To avoid memory leaks, memory allocated on heap should always be freed when no longer needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how do you sort filenames in a directory?
What is the meaning of typedef struct in c?
main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }
What is null in c?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.
How can I remove the trailing spaces from a string?
what is unsigened char and what is the difference from char
What is extern c used for?
What is indirect recursion? give an example?
what does " calloc" do?
How can I use a preprocessorif expression to ?
What is atoi and atof in c?