what is mean by Garbage collection ?
Please answer me.
Advance thanks.
Answers were Sorted based on User's Feedback
Answer / preeti singh
Garbage collection refers to a daemon process that reclaims
the memory that is no longer referenced by an application
that uses dynamic memory allocation.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / amutha
garpage collection one of the dynamic memory allocation so
that don't use long reference application
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / reshma pawar
garbage collection is a concept which suports automatic
deallocation of resources
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sunita yadav
when we use small amount of data in a large memory space
then since the data is less so memory will waste.to resolve
this probleb the concept of garbag collection is used,by
this concept we gathere all the free wastag memory so that
it can be used by other programs.
Is This Answer Correct ? | 0 Yes | 0 No |
write a programe to find the factorial of given number using recursion
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
Is c compiled or interpreted?
What are the string functions? List some string functions available in c.
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is meant by initialization and how we initialize a variable?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
What is the memory allocated by the following definition ? int (*x)();
What is the difference between ++a and a++?
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }
What is an auto variable in c?