what is mean by Garbage collection ?
Please answer me.
Advance thanks.
Answer Posted / 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 |
Post New Answer View All Answers
what is a function method?give example?
Why is c called a structured programming language?
What Is The Difference Between Null And Void Pointer?
Write a program to swap two numbers without using a temporary variable?
What is a pointer value and address in c?
What are categories used for in c?
Explain how do you determine whether to use a stream function or a low-level function?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
Why c is a procedural language?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Why cant I open a file by its explicit path?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Wt are the Buses in C Language