Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Why does malloc(0) allocated memory?
allocation
dynamic
1 голос
4 ответов
19th Feb 2020, 5:42 AM
Vidya Patil
free memory allocated within an function?
c
free
function
memory
memory-leak
scope
1 голос
10 ответов
20th Mar 2022, 10:02 PM
William Owens
Allocated while loop results
java
0 голосов
1 ответ
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 голос
7 ответов
25th May 2022, 4:58 PM
attackhelicopter boi
How does the memory get allocated for pointers?
compiler
operating_system
pointers
7 голосов
6 ответов
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 голосов
14 ответов
12th Jan 2018, 2:56 PM
Justine Ogaraku
Object allocated dynamically and not in C++
c++
pointers
0 голосов
5 ответов
30th Dec 2018, 1:03 PM
RoboCybernetic
Does volatile variable have allocated memory?
c++
volaitle
0 голосов
1 ответ
10th Mar 2019, 3:32 PM
RainStorm
How do I keep from wasting allocated memory?
memory
wasted
0 голосов
10 ответов
31st Dec 2017, 12:23 AM
emmey
when is memory allocated for an array?
java
0 голосов
4 ответов
27th May 2017, 9:31 PM
David
Size of memory allocated to different data types in c#
c#
2 голосов
14 ответов
18th Nov 2017, 6:34 AM
Rishab Saini
does heap allocated memory delets after program shut?
c++
pointers
2 голосов
2 ответов
27th Jul 2017, 7:55 AM
amarnath kumar
[java] memory allocated for the array with length zero.
array
java
2 голосов
3 ответов
7th Apr 2018, 5:49 AM
Nitish kumar jha
Which memory will be allocated for Live OS ?
linux
os
virtual_box
2 голосов
2 ответов
15th May 2021, 5:59 PM
Ratnapal Shende
How to get address of a dynamically allocated char array ?
cpp
dynamic_allocation
pointer
0 голосов
12 ответов
22nd Oct 2022, 8:57 PM
Ali_combination
What happens when dynamically allocated memory is not freed?
c_programming
memory
1 голос
2 ответов
30th Mar 2019, 12:30 AM
Gopal
What keyword is used to free allocated memory in C++?
challenges
0 голосов
4 ответов
4th Sep 2017, 8:01 PM
Morris Kioko Mwatu
How memory is allocated for these static variables?
java
static
0 голосов
1 ответ
16th Jun 2015, 4:14 AM
Bhalachandra bhat
how memory is allocated for reference type in java
java
2 голосов
2 ответов
13th Nov 2016, 8:37 AM
Yash Rawat
How memory is allocated for multidimensional arrays in c and different languages?
arrays
c
12 голосов
2 ответов
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 голосов
10 ответов
22nd Dec 2018, 9:12 AM
ZΛRTHΛИ
How many memory areas types are allocated by JVM?
java
0 голосов
2 ответов
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 голосов
3 ответов
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 голосов
3 ответов
12th Apr 2020, 11:23 PM
ja008
Is memory allocated for ptr variable in the given case?
me
stru
0 голосов
1 ответ
14th Sep 2020, 4:32 PM
rajshekhar y dodamani
Explain the concept of dynamic memory allocated with an example
c
-1 голос
2 ответов
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 голосов
2 ответов
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 голосов
4 ответов
11th Jun 2020, 9:56 PM
visph
Regarding the convention of arrays allocated on the heap versus non array
c++
pointers
0 голосов
1 ответ
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 голосов
2 ответов
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 голос
4 ответов
10th Sep 2016, 3:03 PM
Swagata
When static variable and non variable will be load or allocated in JVM
java
static
0 голосов
1 ответ
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 голос
3 ответов
3rd Dec 2018, 9:06 AM
Mohamed Burhan
Why it results all the time same whether I allocated only for 40 members?
c
0 голосов
1 ответ
13th May 2020, 4:21 AM
SAzidsukc
Why this also works in C ??? Array memory should be allocated at run time ???
c
0 голосов
2 ответов
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 голосов
1 ответ
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 голосов
10 ответов
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 голосов
3 ответов
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 голосов
1 ответ
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 голос
1 ответ
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 голосов
3 ответов
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 голосов
1 ответ
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 голосов
1 ответ
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 голос
3 ответов
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 голосов
3 ответов
4th Jan 2020, 2:34 PM
Sajal Chuttani
What is the difference between delete and delete[] ?
allocated
c++
delete
delete[]
dynamic
memory
6 голосов
3 ответов
21st Dec 2019, 10:38 PM
code0rdie
Creating and array for struct
allocated
arrays
c++
dynamically
memory
structs
0 голосов
1 ответ
9th Oct 2016, 5:58 PM
Hakatek
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
Актуальное сегодня
Sticky position
3 Votes
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Odd even threads without condition variable
0 Votes
SQL practice
2 Votes