Home Forums C Programming this keyword

Viewing 1 reply thread
  • Author
    Posts
    • #1899
      VIGNESH
      Participant

      can anyone please tell me the difference between “this” keyword and “VPTR”???
      Happy Programming,
      Genetic.

    • #3143
      sameena
      Participant

      Hi

      You should find the information you need here:-
      http://www.codeguru.com/cpp/tic/tic_c.shtml

      The this pointer indentifies the object instance that called a function whereas VPTR seems to be similar in construction but applies to virtual functions and has to do with binding…

      Good luck on that one :)
      MegaC

Viewing 1 reply thread
  • The forum ‘C Programming’ is closed to new topics and replies.