ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
   
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
How to overload new operator in c++
 Question Submitted By :: Rdurgalakshmi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to overload new operator in c++
Answer
# 1
We want use the new operator in overloading by defining the
new()operator with the fallowing operation in the class.
 
Is This Answer Correct ?    3 Yes 2 No
R.ramakrishna
 
  Re: How to overload new operator in c++
Answer
# 2
class[] ob=new class[5];
ob[1]= new class();
ob[2]= new class();
ob[3]= new class();
ob[4]= new class();
ob[5]= new class();
 
Is This Answer Correct ?    1 Yes 1 No
Guest
 
 
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What is the concept of object oriented program?  6
string is a class or data type in java?  2
what is an qt4 interface? IBM1
What is a mixin class?  4
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?. IBM13
what is overloading and overriding?  6
if u write a class do u write Assignment operator and copy constructor Siemens1
c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess TCS1
Write a program to find out the number of palindromes in a sentence. TCS1
What is Method overloading?  5
what i oops concept, how many languages supports oops concept? Value-Labs2
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.  2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com