Skip to content
QnA Plus

Code, Create, Conquer: Insights, Algorithms, and Innovation!

  • Home
  • Privacy Policy
  • Terms and Conditions
  • Contact
  • Contribute
  • About

C++

  • Home
  • C++
  • Page 7

Inheritance in C++

Posted by By Srikanta June 20, 2023Posted inProgramming, C++No Comments
In Object Oriented Programming, inheritance is a mechanism of acquiring properties and behaviors in one class from another. In C++, one class can be derived from another class which is…
Read More

Friend Class in C++

Posted by By Srikanta June 18, 2023Posted inProgramming, C++No Comments
The private and protected class members are not allowed to be accessed from outside the class. Only inherited or derived classes can access the protected members of its parent or…
Read More

Friend Function in C++

Posted by By Srikanta June 15, 2023Posted inProgramming, C++No Comments
Private and protected class members are not allowed be accessed from outside the class. We can access the private members only from the same class, whereas, the protected members can…
Read More

Returning the ‘this’ Pointer from a Member Function

Posted by By Srikanta June 14, 2023Posted inProgramming, PythonNo Comments
In C++, member functions get executed in the context of an object. And a special pointer, this, holds the address of that object. We can return the address (pointer), reference…
Read More

Method Chaining in C++

Posted by By Srikanta June 13, 2023Posted inProgramming, C++No Comments
Method chaining is a mechanism of calling multiple functions (methods) in a single statement. It helps us reduce number of lines in the code and increase code elegancy. And in…
Read More

Posts pagination

Previous page 1 … 5 6 7 8 9 … 11 Next page
Categories
  • Programming 186
    • C 105
    • C++ 70
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • C Program to Get a Digit at Any Position of a Number 52 views
    • Change a Variable from inside a C Function 39 views
    • Add New Node to XML File Using libxml2 in C 39 views
    • C Program to Set, Clear and Toggle a Bit 38 views
    • C Program to Append to a File 34 views
    • How to Take Screenshot on Fedora GNOME Desktop 32 views
    • Implement Bubble Sort in C 32 views
    • C Program to Count Characters, Words and Lines in a File 32 views
    • Friend Function in C++ 28 views
    • How to Implement Smart Pointer in C++? 27 views

    [chatbot_plugin]

    Copyright © 2015 - 2026 QnA Plus. All rights reserved.
    Scroll to Top
    0
    0
    0
    0
    0
    0