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 |
which will be first in c compiling ,linking or compiling ,debugging.
void main() { int i=5; printf("%d",i+++++i); }
Explain #pragma statements.
what are # pragma staments?
what is the mean of c languages.
main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }
Do you know the purpose of 'register' keyword?
What do you mean by invalid pointer arithmetic?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
What is #line used for?
Explain argument and its types.
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,