How are pointers instantiated without the “new” work?

后端 未结 0 1466
[愿得一人]
[愿得一人] 2020-12-12 07:04

What is the difference between instantiating a pointer like int* ptr=2; and int* ptr=new int. I am aware that "new" keyword is used for d

相关标签:
回答
  • 消灭零回复
提交回复
热议问题