pointer conversion....

Discussion in 'C' started by samuelwhalley, Apr 24, 2008.

  1. samuelwhalley

    samuelwhalley New Member

    Joined:
    Apr 24, 2008
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    0
    Hi expert....

    Is it OK to convert a pointer from a derived class to its base class? :shy:

    Thanks for any reply.....
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Could not get you? Can you please explain a bit more.
     
  3. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice