Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Is it possible to have memory leaks in languages that has Garbage Collector?
garbage_collection
memory_leak
memory_management
20 Votes
4 Answers
9th Jun 2018, 8:55 PM
Amir
What is the purpose of garbage collection in java
garbage_collection
java
0 Votes
3 Answers
29th May 2018, 10:54 AM
Minindu Hewawasam
Why garbage collection is not there in c programming?
c
2 Votes
2 Answers
21st Jan 2017, 7:39 AM
Bhargav Mehta
Can anyone let me know why this code giving garbage output?(solved)
asap
garbage_output
help
5 Votes
2 Answers
29th Apr 2021, 2:14 AM
Hemasri Kottapalli
What exactly is a garbage collector? and How to use it?
garbage-collectors
programming
4 Votes
3 Answers
27th Feb 2018, 2:38 PM
luʁi
Why we get garbage value in output of program in C++?
c++,
loop
1 Vote
2 Answers
16th Nov 2020, 1:45 PM
Janardan Pandey
From where the garbage value comes in c or c++ programs ?
c
c++
3 Votes
2 Answers
28th Jun 2018, 2:23 PM
Allabaksh Lukade
Why is the garbage value being printed after displaying the array
c++
2 Votes
1 Answer
21st May 2021, 7:28 AM
Muhammad Abdullah
Why I'm getting garbage value..??? what's wrong with this code😓..... Answer should be..... index = [ 0, 3]
binarysearch
datastructure
java
0 Votes
11 Answers
10th Apr 2022, 9:47 AM
Davinder Kumar
I don't know why my program is giving me garbage values
c
0 Votes
2 Answers
21st Aug 2020, 3:29 PM
Gaurav Kamble
Which algorithm is used by garbage collector to remove the unused variables or object from memory?
algorithm
garbage_collector
21 Votes
4 Answers
10th Dec 2017, 6:19 AM
Abhivarshini Maddala
If garbage collection is automatic in Java, then why is finalize() required?
java
1 Vote
4 Answers
4th Dec 2017, 4:45 PM
friendly_nadim
Is it necessary to use destructor when you have garbage collector in dotnet?
c#
java
3 Votes
5 Answers
21st Dec 2016, 12:31 PM
الواجد
How can we tweak java's Big Problem (It's Garbage Collector)
collector
garbage
java
-5 Votes
2 Answers
29th Jul 2020, 3:25 PM
Adarsh Bharti
can anyone explain what's actually is a garbage collection in C#?
c#
0 Votes
2 Answers
15th Jun 2016, 8:47 PM
sathya pramod
Why default constructor initialises memeber variables with garbage values if its not defined ?
c++
1 Vote
4 Answers
23rd Sep 2018, 11:44 AM
Aman Jain
Where can i make an app without learning all this garbage
c++
java
-5 Votes
5 Answers
19th Oct 2017, 6:27 PM
carl godfrey
this c program is giving garbage value . Can anyone help me find the mistake
n
2 Votes
3 Answers
26th Dec 2018, 11:57 AM
Abdul Bari Abbasi
if we do not initialize variable it should print some garbage value but it printing 0 value by default...why this happening?
c
0 Votes
22 Answers
31st May 2020, 4:37 PM
Shrinivas Gadade
C - Why does this code, without casting x to int, return a garbage value?
c
type-conversion
variables
2 Votes
1 Answer
26th Sep 2019, 8:59 PM
Paolo De Nictolis
What is the purpose of garbage collection in Java, and when it is used?
java
programming
question
1 Vote
2 Answers
17th Oct 2019, 5:55 PM
Neba Emmanuel
Why the code is giving me garbage vaue + error at the last !!!
c++
1 Vote
2 Answers
23rd Feb 2022, 7:11 AM
Sabnis Ashutosh
When does garbage and 0 come into the picture while initializing array ??
arrays
c
garbage
0 Votes
1 Answer
5th Aug 2022, 3:02 PM
Learning
Any idea for Garbage segregation ? (Need to segregate as Dry, Wet, Metal ,Plastic)
project
segregation
smartbin
2 Votes
1 Answer
27th Sep 2018, 4:13 PM
sachin billav
How many way we can call explicitly garbage collection in a application?
c#
0 Votes
1 Answer
28th Jun 2016, 9:21 PM
Chandan Sharma
❄⚡lets clear this thread⚡❄
clear
garbage
your
10 Votes
9 Answers
2nd Dec 2017, 1:03 PM
Ankush Kumar
What is best practice for garbage collection in non trivial or critical systems in java?
java
overflow
3 Votes
2 Answers
27th Jul 2016, 10:19 AM
Brian R.
Can anyone find out why this code outputting a garbage value instead of sum of even numbers in the list?
asap
garbage_output
help
4 Votes
8 Answers
28th Apr 2021, 11:25 AM
Hemasri Kottapalli
Why in an array if we have not initialized it, displays garbage values on printing?
arrays
java
2 Votes
2 Answers
20th Sep 2016, 11:47 AM
SUBHANKAR NATH
Why is the output '0'. But declaring array in main() gives a garbage value(as it should)...??
c++
2 Votes
3 Answers
11th Nov 2017, 5:04 PM
Saransh Bhatia
The appended piece of code produces garbage values periodically. Can someone help me fix this?
c
c++
0 Votes
1 Answer
9th Sep 2021, 6:43 PM
Kun Ga
what is the output put of the following program? int main () { int x=5; static int y =x; prinf("%d", y) ; }
5
error
garbage
3 Votes
4 Answers
10th Sep 2019, 5:17 PM
Vaibhav Karma
Why am I getting garbage output for about 30 iterations with this simple for loop?
c++
0 Votes
3 Answers
24th Jul 2017, 4:53 AM
James Jacobsen
Help me to solve this question....
c
error
garbage
0 Votes
5 Answers
11th Aug 2020, 9:18 AM
DeWill
What is the exact process of garbage collection in JAVA. Its so confusing in the notes.
collection
garbage
java
0 Votes
4 Answers
13th Jun 2017, 3:54 AM
Manish Jha
Why are garbage values stored in a pointer array even though i am dynamically allocating the right amount of space needed
c
pointers
0 Votes
10 Answers
19th Mar 2020, 11:30 AM
Y AD Ù
int num[8]={1,2,3} then what the value of num[6]? option a) garbage value b) 2 c) '1 d) 3
c
2 Votes
3 Answers
19th Jun 2020, 2:43 PM
shree mundhe
The output is not properly coming....! showing garbage value for one of the arrays..! help me.....!
array_private_data
class
garbage_output
2 Votes
2 Answers
23rd Mar 2017, 3:36 AM
Govind Choudhary
This program for Garbage Collection in Java is not working and showing error that"no public class found to execute"
java
0 Votes
5 Answers
6th Jun 2018, 4:06 PM
harshit
what is garbage collection in programming language and why C++ lacks this feature. Should i prefer other languages please answer
c++
1 Vote
4 Answers
24th Oct 2019, 7:05 PM
Sorry
I just learned that the Go language forces a garbage collection at least every 2 minutes regardless of heap growth.
c#
collection
frequency
garbage
gc
go
golang
interval
java
2 Votes
4 Answers
5th Feb 2020, 10:24 AM
Sonic
Is there any memory wastage caused by char a[100][7] in this below code due to garbage value? Or it was rectified by compiler?
array
memory
unoccupied
2 Votes
7 Answers
29th Nov 2020, 6:00 AM
Yogeshwaran P
What is the output of following program Options: a) 5 b) garbage c) 0 d) none of the above
error
java
program
question
0 Votes
2 Answers
29th Oct 2020, 6:43 AM
Atul Gautam
I receive from arduino to Raspberry through serial string data. I want to remove garbage from it. I want to have only numbers an
python
python3
6 Votes
1 Answer
14th May 2019, 5:23 PM
Zhenis Otarbay
When we use write function in writing data to the file it gave garbage in file so what to do to avoid it?
c++
files
1 Vote
8 Answers
29th Oct 2018, 7:30 PM
Gauri Shirkande
No destructor in Java? What is the best way to create destructors in java
bycall
callbye
delete
garbage
java
10 Votes
10 Answers
3rd Sep 2018, 8:10 AM
Charan Leo25
I m unable to use clrscr ( )..in this code. It's showing garbage value when I enter the value of cp nd sp.
ace
jacob
sir
1 Vote
7 Answers
2nd Feb 2018, 5:15 PM
Deepak Bhalode
Why java garbage collector delete object. heap memory i understand that reference to other clas but whencode complete its delete
java
1 Vote
2 Answers
27th Sep 2017, 4:55 AM
prashant vyas
Sum and Average in functions. It compiled but the result is showing garbage value. could anyone write the proper form of code an
c++
function-arguments
function-parameters
functions
0 Votes
3 Answers
29th Nov 2019, 3:59 PM
Dipanjan Basu
when i run my code suppose with input 1 then from 0 to 10 output is correct but i get 11 th value as garbage value! why so??
c++
garbag_value_problem
1 Vote
7 Answers
10th Jan 2017, 7:40 AM
Md Shaifan Shahid
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
Next >
Hot today
The hidden trap in python function
4 Votes
What is a web browser intension?
1 Votes
Percobaan
0 Votes
Mentors
0 Votes
Thread local : global vs local
0 Votes
Codding lern
0 Votes
Postgrrsql and python
0 Votes
What are these purple cubes good for?
0 Votes