 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you how you can apply Negation operation in C++ using Operator Overloading. Before starting, you can note my information. You can connect with me by following these details. You can download my app Techimage that is available on Google Play. You can search my channel on YouTube by typing my name Sanjay Gupta on search bar. My channel will be available there. You can open it. You can subscribe it if you want to follow my videos. Here, various programming related videos and playlists are available. Now coming on to the topic. Here you can see I have included a header file IO screen. Then a namespace STD is used. Then class number is defined here and attribute n is declared. Then inside public section, first function is read which will display enter number message on console. Then the entered value will be stored inside variable n. Then print function is defined. It will display value on console with the help of this n variable. Then overloaded operator is defined here. Negation minus operator is overloaded and this operator is a keyword. In the definition part, you can see n equals to minus n is written. So n will be converted into its negative value and then again it will be assigned into n. So this is overloaded operator function definition. In main function, you can see an object and one is created. It is reading a value from user. Then it will display value on console using print function. Then here overloaded operator function is called minus n. So n1 is calling negation operation. So its attribute will be converted into negative value and then it will be displayed on console. So in short, you can say that it will convert a positive value into negative value and this operation is known as negation operation. I am entering 5. You can see value equals to 5. It is before negation and value equals to minus 5. It is after negation. So I hope you have understood how we can convert positive value into negative using operator overloading or you can say how we can apply negation operation using unary operator overloading. If you want to watch more programming related videos, you can watch my YouTube channel. Here various programming playlists are available. You can also subscribe this YouTube channel. Thank you for watching this video.