+ Reply to Thread
+ Post New Thread
Results 1 to 3 of 3

Thread: What is virtual function on C++?

  1. #1
    Senior Member shreeharisg's Avatar
    Join Date
    Feb 2014
    Posts
    103
    Post Thanks / Like

    Exclamation What is virtual function on C++?



    What is virtual function on C++? Give any example of it.

  2. #2
    Banned sohil01's Avatar
    Join Date
    Jun 2016
    Location
    india
    Posts
    9
    Post Thanks / Like


    Is this useful / helpfull? Yes | No
    C++ virtual function is a member function of a class, whose functionality can be over-ridden in its derived classes.

  3. #3
    Junior Member jameswarner's Avatar
    Join Date
    Jan 2017
    Location
    Buffalo, NY 10583
    Posts
    4
    Post Thanks / Like


    Is this useful / helpfull? Yes | No
    Virtual function in C++, two class like base and derived class is one of best example of idea that mirrors real life hierarchy.

+ Reply to Thread
+ Post New Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •