Loading…

What is the difference between make and new?

  • New assignes the memory.
  • Make initializes map, slice, and channel types.

Suggest An Answer

No suggestions avaliable!

Latest post from Go programming interview questions

Ask Question