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 |
A marketing company wishes to construct a decision table to decide how to treat clients according to three characteristics: Gender, City Dweller, and age group: A (under 30), B (between 30 and 60), C (over 60). The company has four products (W, X, Y and Z) to test market. Product W will appeal to female city dwellers. Product X will appeal to young females. Product Y will appeal to Male middle aged shoppers who do not live in cities. Product Z will appeal to all but older females.
program to find the second largest word in a paragraph amongst all words that repeat more thn twice
write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words
5 Answers Captronic, DELL, Google, IBM, Mithi, RCC, Wipro,
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
write a program to display the array elements in reverse order in c language
What are pointers in C?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
What are different storage class specifiers in c?
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC
How to declare pointer variables?
How many levels of pointers can you have?
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.