What are the differences between new and malloc?
By admin on Jan 18, 2007 in C++ Interview Questions, Technical
Java Interview Questions | IT interview questions | Software Testing Interview questions | .Net Interview Questions | Job Interview Questions & Answers | Tough Interview Questions | Technology Interview Questions | Tech Interview Questions | Testing Interview Questions | SAP Interview Questions | ABAP Interview Questions | Data Warehousing Interview Questions
Current ArticleBy admin on Jan 18, 2007 in C++ Interview Questions, Technical
1 Comment(s)
By gopi on Aug 2, 2008 | Reply
in c language we have malloc by using pointers
in c++ we have new without using pointers
new,malloc are same using for memory allocation
by using malloc we allocate memroy to variables
by using new we allocate memory to objects
by using new the system will decide its is taken as malloc or farmalloc