• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

I don't know,how does the output comes,after freeing the dynamic memory?
free()
0 Votes
5 Answers
1st Sep 2021, 1:17 AM
Yogeshwaran P
Yogeshwaran P - avatar
After freeing up the memory used by a pointer, printing the value it points to yields a seemingly random number. Why?
c++deletepointers
3 Votes
5 Answers
24th Apr 2018, 1:21 PM
Anis Ali Khan
Anis Ali Khan - avatar
Is this the right way to delete a vector of pointers?
allocationarraysc++dynamicfreeingmemorypointersvectors
0 Votes
3 Answers
22nd Dec 2018, 3:09 AM
voidneo
Hot today
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Advertising in Sololearn
0 Votes
Hi who can hel me please
0 Votes
Changing String Variables into int in C++
0 Votes