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

C++ pointers

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

C++ Pointers To Objects

March 23, 2023April 3, 2022 by admin

To understand the topic of pointers to objects, we need to know what is an object , pointer and class. A class is defined in C++ using keyword class followed by the name of class. The body of class is defined inside the curly brackets and terminated by a semicolon at the end. What is … Read more

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