Cursos
Fazer login
Começar a aprender IA
Cursos
Fazer login
Começar a aprender IA
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Why does malloc(0) allocated memory?
allocation
dynamic
1 Voto
4 Respostas
19th Feb 2020, 5:42 AM
Vidya Patil
free memory allocated within an function?
c
free
function
memory
memory-leak
scope
1 Voto
10 Respostas
20th Mar 2022, 10:02 PM
William Owens
Allocated while loop results
java
0 Voto
1 Resposta
28th Jul 2019, 6:05 PM
Sibusiso Mbambo
I feel like the memory I allocated isn't actually being allocated to *ptr. Can someone please help?
c
1 Voto
7 Respostas
25th May 2022, 4:58 PM
attackhelicopter boi
How does the memory get allocated for pointers?
compiler
operating_system
pointers
7 Votos
6 Respostas
17th Jan 2019, 4:10 AM
Narayan Bhat
Size Allocated for Types And Dynamic Programming.If the size allocated for type 'int' is 2^32. How will numbers higher than that
c++
dynamic
sizeof
types
18 Votos
14 Respostas
12th Jan 2018, 2:56 PM
Justine Ogaraku
Object allocated dynamically and not in C++
c++
pointers
0 Voto
5 Respostas
30th Dec 2018, 1:03 PM
RoboCybernetic
Does volatile variable have allocated memory?
c++
volaitle
0 Voto
1 Resposta
10th Mar 2019, 3:32 PM
RainStorm
How do I keep from wasting allocated memory?
memory
wasted
0 Voto
10 Respostas
31st Dec 2017, 12:23 AM
emmey
when is memory allocated for an array?
java
0 Voto
4 Respostas
27th May 2017, 9:31 PM
David
Size of memory allocated to different data types in c#
c#
2 Votos
14 Respostas
18th Nov 2017, 6:34 AM
Rishab Saini
does heap allocated memory delets after program shut?
c++
pointers
2 Votos
2 Respostas
27th Jul 2017, 7:55 AM
amarnath kumar
[java] memory allocated for the array with length zero.
array
java
2 Votos
3 Respostas
7th Apr 2018, 5:49 AM
Nitish kumar jha
Which memory will be allocated for Live OS ?
linux
os
virtual_box
2 Votos
2 Respostas
15th May 2021, 5:59 PM
Ratnapal Shende
How to get address of a dynamically allocated char array ?
cpp
dynamic_allocation
pointer
0 Voto
12 Respostas
22nd Oct 2022, 8:57 PM
Ali_combination
What happens when dynamically allocated memory is not freed?
c_programming
memory
1 Voto
2 Respostas
30th Mar 2019, 12:30 AM
Gopal
What keyword is used to free allocated memory in C++?
challenges
0 Voto
4 Respostas
4th Sep 2017, 8:01 PM
Morris Kioko Mwatu
How memory is allocated for these static variables?
java
static
0 Voto
1 Resposta
16th Jun 2015, 4:14 AM
Bhalachandra bhat
how memory is allocated for reference type in java
java
2 Votos
2 Respostas
13th Nov 2016, 8:37 AM
Yash Rawat
How memory is allocated for multidimensional arrays in c and different languages?
arrays
c
12 Votos
2 Respostas
16th Mar 2017, 5:53 PM
SUJITH
How to get the size from an array that allocated on the heap?
array
c++
heap
size
5 Votos
10 Respostas
22nd Dec 2018, 9:12 AM
ZΛRTHΛИ
How many memory areas types are allocated by JVM?
java
0 Voto
2 Respostas
15th Jul 2016, 5:17 PM
Manish Mohan Badgujar
How to free memory of dynamically allocated two dimensional array?
c++
code
programming
sololearn
vode
0 Voto
3 Respostas
24th Dec 2017, 1:17 PM
Mukul
Can you access allocated array elements with pointer.at(i) instead of pointer[i]?
allocation
arrays
c++
dynamic
0 Voto
3 Respostas
12th Apr 2020, 11:23 PM
ja008
Is memory allocated for ptr variable in the given case?
me
stru
0 Voto
1 Resposta
14th Sep 2020, 4:32 PM
rajshekhar y dodamani
Explain the concept of dynamic memory allocated with an example
c
-1 Voto
2 Respostas
12th May 2017, 4:45 AM
Web Anshu
What happens if you didn't delete the allocated memory inside a method ?
c++
delete
methods
new
pointers
0 Voto
2 Respostas
20th Apr 2022, 3:11 PM
Mohammed
How to correctly assign a variable by derefencing a pointer to a dynamically allocated C struct?
allocated
c
dynamic
struct
6 Votos
4 Respostas
11th Jun 2020, 9:56 PM
visph
Regarding the convention of arrays allocated on the heap versus non array
c++
pointers
0 Voto
1 Resposta
5th Jun 2017, 11:00 AM
Feraru Silviu Marian
Why we are using malloc,calloc functions ?without using this functions also memory allocated right?
c
0 Voto
2 Respostas
30th Aug 2021, 12:53 PM
511 sathish Chinnolla
Does the memory allocated to a local variable get deallocated automatically after its scope ends?
c++
1 Voto
4 Respostas
10th Sep 2016, 3:03 PM
Swagata
When static variable and non variable will be load or allocated in JVM
java
static
0 Voto
1 Resposta
9th Jan 2017, 4:21 PM
Annapoorani.H
I have allocated space only for 3 characters. But y I could print more than 3
c
1 Voto
3 Respostas
3rd Dec 2018, 9:06 AM
Mohamed Burhan
Why it results all the time same whether I allocated only for 40 members?
c
0 Voto
1 Resposta
13th May 2020, 4:21 AM
SAzidsukc
Why this also works in C ??? Array memory should be allocated at run time ???
c
0 Voto
2 Respostas
6th Mar 2019, 3:24 AM
Aman Jain
Can we add a single number to an array that is allocated on heap memory ?
cpp
heap
0 Voto
1 Resposta
10th Oct 2022, 6:02 PM
Ali_combination
What is the meaning of array of character that are statically allocated cannot be changed? Please answer this giving some ex
arrays
c
char
0 Voto
10 Respostas
21st Oct 2019, 5:04 PM
Purushotham
It is necessary to declare size of array?how much memory is allocated if size isnt declared?
array
cpp
linkedlist
0 Voto
3 Respostas
19th Jan 2017, 5:28 AM
Suhas Patil
IN CPPHow can we pass arguments to the constructor of a dynamically allocated array of classes?
arrays
c++
constructors
dynamically_allocated
methods
objects
oops
pointers
0 Voto
1 Resposta
2nd Mar 2018, 4:53 PM
Melodemon Alpheus
how to count all pointers and variables that using an dynamically allocated memory with malloc and new ?
c++
memory
memory-leak
pointers
1 Voto
1 Resposta
26th Jun 2022, 5:36 PM
Esmaeil Zivari
Is it correct English to write _ the memory will stay allocated. What about _ the memory will continue to be allocated ....
pointers
0 Voto
3 Respostas
29th Jun 2019, 12:36 AM
Faisal Alghamdi
free(ptr); Even though we are just proving ptr, How it assumes exact size of memory allocated first to be freed?
c
free
malloc
0 Voto
1 Resposta
12th Oct 2018, 8:37 PM
TheEngineerIN
As the static member variables are common to all the classes, where is the memory allocated for static members?
c#
static
0 Voto
1 Resposta
27th Apr 2016, 10:35 PM
Anusuya Rangasamy
Variable types are not declared while setting a value. then how or what number of bytes are being allocated in the memory?
python
variables
1 Voto
3 Respostas
2nd Jul 2016, 7:30 PM
Protiti sengupta
How can strings be allocated in the heap using pointers. Strings can have variable size then how can they given a space in heap?
allocation
c++
cin
guest
memory
new
pointers
strings
0 Voto
3 Respostas
4th Jan 2020, 2:34 PM
Sajal Chuttani
What is the difference between delete and delete[] ?
allocated
c++
delete
delete[]
dynamic
memory
6 Votos
3 Respostas
21st Dec 2019, 10:38 PM
code0rdie
Creating and array for struct
allocated
arrays
c++
dynamically
memory
structs
0 Voto
1 Resposta
9th Oct 2016, 5:58 PM
Hakatek
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Quente hoje
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
2 Votes
Give some simple practice questions in C
0 Votes
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Hello guys,
1 Votes
How many time I can use sololearn trial mode?
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
how do they use javascript
0 Votes