0
Why dynamic memory allocation for creation of object in c#
coming to c++ memory will be allocated at creation of object ... demo d; ..automatically memory will be allocated ..in c# its like demo d=new demo(); which means after instantiation memory is allocated ..can any one explain the reason
2 Antworten
0
The new of C# is not the new of C++, they are two different languages :)
0
if u gave like ..demo d; .. memory is not going to be allocated in c# ..coming to c++ ...demo d;... will allocate memory ..what's the difference