What is the difference between operator new and the new
operator?
Answers were Sorted based on User's Feedback
Answer / vrushali
Operator new is a function name used for operator overloading and new operator is used for allocating memory
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / guest
operator new is just like malloc and
new is the conventinal new in C++
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / man
operator new is nothing
And new operator is used to allocate memory on the heap
| Is This Answer Correct ? | 0 Yes | 6 No |
whats the size of class EXP on 32 bit processor? class EXP { char c1; char c2; int i1; int i2; char *ptr; static int mem; };
What are the implicit member functions of class?
Is c++ map a hash table?
What happens when you make call 'delete this;'?
How to create a pure virtual function?
What is late binding c++?
Is c++ built on c?
What do you mean by inheritance in c++?
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it
What is static in c++?