Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Is it possible to have memory leaks in languages that has Garbage Collector?
garbage_collection
memory_leak
memory_management
20 Votos
4 Respostas
9th Jun 2018, 8:55 PM
Amir
What is the purpose of garbage collection in java
garbage_collection
java
0 Voto
3 Respostas
29th May 2018, 10:54 AM
Minindu Hewawasam
Why garbage collection is not there in c programming?
c
2 Votos
2 Respostas
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 Votos
2 Respostas
29th Apr 2021, 2:14 AM
Hemasri Kottapalli
What exactly is a garbage collector? and How to use it?
garbage-collectors
programming
4 Votos
3 Respostas
27th Feb 2018, 2:38 PM
luʁi
Why we get garbage value in output of program in C++?
c++,
loop
1 Voto
2 Respostas
16th Nov 2020, 1:45 PM
Janardan Pandey
From where the garbage value comes in c or c++ programs ?
c
c++
3 Votos
2 Respostas
28th Jun 2018, 2:23 PM
Allabaksh Lukade
Why is the garbage value being printed after displaying the array
c++
2 Votos
1 Resposta
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 Voto
11 Respostas
10th Apr 2022, 9:47 AM
Davinder Kumar
I don't know why my program is giving me garbage values
c
0 Voto
2 Respostas
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 Votos
4 Respostas
10th Dec 2017, 6:19 AM
Abhivarshini Maddala
If garbage collection is automatic in Java, then why is finalize() required?
java
1 Voto
4 Respostas
4th Dec 2017, 4:45 PM
friendly_nadim
Is it necessary to use destructor when you have garbage collector in dotnet?
c#
java
3 Votos
5 Respostas
21st Dec 2016, 12:31 PM
الواجد
How can we tweak java's Big Problem (It's Garbage Collector)
collector
garbage
java
-5 Votos
2 Respostas
29th Jul 2020, 3:25 PM
Adarsh Bharti
can anyone explain what's actually is a garbage collection in C#?
c#
0 Voto
2 Respostas
15th Jun 2016, 8:47 PM
sathya pramod
Why default constructor initialises memeber variables with garbage values if its not defined ?
c++
1 Voto
4 Respostas
23rd Sep 2018, 11:44 AM
Aman Jain
Where can i make an app without learning all this garbage
c++
java
-5 Votos
5 Respostas
19th Oct 2017, 6:27 PM
carl godfrey
this c program is giving garbage value . Can anyone help me find the mistake
n
2 Votos
3 Respostas
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 Voto
22 Respostas
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 Votos
1 Resposta
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 Voto
2 Respostas
17th Oct 2019, 5:55 PM
Neba Emmanuel
Why the code is giving me garbage vaue + error at the last !!!
c++
1 Voto
2 Respostas
23rd Feb 2022, 7:11 AM
Sabnis Ashutosh
When does garbage and 0 come into the picture while initializing array ??
arrays
c
garbage
0 Voto
1 Resposta
5th Aug 2022, 3:02 PM
Learning
Any idea for Garbage segregation ? (Need to segregate as Dry, Wet, Metal ,Plastic)
project
segregation
smartbin
2 Votos
1 Resposta
27th Sep 2018, 4:13 PM
sachin billav
How many way we can call explicitly garbage collection in a application?
c#
0 Voto
1 Resposta
28th Jun 2016, 9:21 PM
Chandan Sharma
What is best practice for garbage collection in non trivial or critical systems in java?
java
overflow
3 Votos
2 Respostas
27th Jul 2016, 10:19 AM
Brian R.
❄⚡lets clear this thread⚡❄
clear
garbage
your
10 Votos
9 Respostas
2nd Dec 2017, 1:03 PM
Ankush Kumar
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 Votos
8 Respostas
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 Votos
2 Respostas
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 Votos
3 Respostas
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 Voto
1 Resposta
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 Votos
4 Respostas
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 Voto
3 Respostas
24th Jul 2017, 4:53 AM
James Jacobsen
What is the exact process of garbage collection in JAVA. Its so confusing in the notes.
collection
garbage
java
0 Voto
4 Respostas
13th Jun 2017, 3:54 AM
Manish Jha
Help me to solve this question....
c
error
garbage
0 Voto
5 Respostas
11th Aug 2020, 9:18 AM
DeWill
Why are garbage values stored in a pointer array even though i am dynamically allocating the right amount of space needed
c
pointers
0 Voto
10 Respostas
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 Votos
3 Respostas
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 Votos
2 Respostas
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 Voto
5 Respostas
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 Voto
4 Respostas
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 Votos
4 Respostas
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 Votos
7 Respostas
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 Voto
2 Respostas
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 Votos
1 Resposta
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 Voto
8 Respostas
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 Votos
10 Respostas
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 Voto
7 Respostas
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 Voto
2 Respostas
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 Voto
3 Respostas
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 Voto
7 Respostas
10th Jan 2017, 7:40 AM
Md Shaifan Shahid
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
2
3
Próximo >
Quente hoje
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
why do people say programming is hard
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes