Interview Questions  

Go Back   Interview Questions > View Profile

   

tarunl tarunl is offline

Junior Member

Visitor Messages

Showing Visitor Messages 1 to 1 of 1
  1. sksingh
    06-07-2008 10:37 AM
    sksingh
    Objects can be created using :-
    (1)Early binding
    (2)Late Binding

    -In early binding memory is allocated while creating the object
    o customer c;

    -In late binding memory is allocated on demand using
    o new keyword
    o To release the memory use delete keyword

    customer *c;
    c=new customer();
    c->createaccount(5,”Rohit”0;
    c->showinfo();
    delete c;

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: 05-19-2008 04:55 AM
  • Join Date: 05-19-2008
  • Referrals: 0