Dynamic memory allocation - how is it supported?

in Arduino. i use printf on esp32. i often you sprintf on arduino

how about explaining how?