---
title: "Discussion on \"Operator Functions in C++ :\" | Hashnode"
description: "Discussion on \"Operator Functions in C++ :\". You can use operators not only to perform operations by passing variables rather using class deirectly ,\nHere's How :\n#include \"iostream\"\n\nclass Arithmetic{\n    public:\n        int a; \n\n        Arithmetic(const int a) : a(a) {};\n\n        int Add(cons..."
url: "https://hashnode.com/posts/operator-functions-in-c/6178d366913b6d3f08e15973"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Operator Functions in C++ :](https://anshumantiwari.hashnode.dev/operator-functions-in-c?utm_source=hashnode&utm_medium=feed)

You can use operators not only to perform operations by passing variables rather using class deirectly , Here's How : #include "iostream" class Arithmetic{ public: int a; Arithmetic(const int a) : a(a) {}; int Add(cons...

Oct 27, 2021 · 1 min read · anshumantiwari.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#c](https://hashnode.com/tag/c)

## Written by

[Anshuman Tiwari](https://hashnode.com/@anshumantiwari)

@anshumantiwari

  
[View profile](https://hashnode.com/@anshumantiwari)

Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
