• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
0

realloc() frees previous memory block implicitly?

Or must use free() with an auxiliary ptr?

cmemory
3rd Apr 2020, 5:01 PM
Kiwwi#
Kiwwi# - avatar
1 ответ
+ 3
Kiwwi here is a resource that explains how to use each https://www.geeksforgeeks.org/dynamic-memory-allocation-in-c-using-malloc-calloc-free-and-realloc/
3rd Apr 2020, 5:13 PM
BroFar
BroFar - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes
How Much RAM is Required for Object Detection Project
0 Votes
How can I turn my .py files to .exe files?
1 Votes
Hey ! how to install modules on this app
0 Votes
Summary please??
0 Votes