Skip to content
Notesformsc
  • Home
  • Blog
  • Computer Science
    • Algorithms
    • Computer Organization
    • Computer Networks
    • Data Mining
    • Data Structures
    • DBMS
    • Digital Design
    • Operating Systems
  • Programming
    • C Tutorial
    • C++ Tutorial
    • CSS Tutorial
    • HTML Tutorial
    • Python Tutorial
    • VB 6.0 Tutorial
    • JavaScript Tutorial
  • Examples
    • C Examples
    • C++ Examples
    • VB 6 Projects
  • Mathematics
    • Linear Algebra
    • Discrete Mathematics
    • Engineering Mathematics

Pointers to derived class

C++ Pointers To Derived Classes

March 23, 2023April 10, 2022 by admin

We know that pointers are used for an object of derived classes, we can also use them for the base objects. The pointer to the base class object is type-compatible (can be used in two ways) with a pointer to the object of the derived class.  To access the variable of the base class, a … Read more

Categories C++ Programming Tags C tutorial, C++ pointers, C++ Programming, Pointers to derived class
  • Home
  • About
  • Contact
  • Blog
  • Cookie Policy
  • Privacy Policy
© 2023 Notesformsc • Built with GeneratePress