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:

    • Implement Bubble Sort in C 100 views
    • How to install Ping or Ping6 using YUM 81 views
    • How to Implement Periodic and Single Shot Timers in Linux? 66 views
    • C Program to Sleep in Milliseconds 64 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 47 views
    • How to do Asynchronous Operations using boost::asio? 39 views
    • Change a Variable from inside a C Function 37 views
    • C Program to Print the Current File Name and Line Number 35 views
    • C++ | Binding a Member Function 35 views
    • How to Store SVN Password in Encrypted Form in Linux 33 views

    💬
    Chat with Us!

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