Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@prafulkatare43855 жыл бұрын
Thank you so much sir, aap ne ek baar mai samjha dia, i was struggling from 2 days for the same concept.
@vinithp43253 жыл бұрын
Thank you very much. You are better than my oops&ds lecturer ❤️
@venkatanagaeswarkousikneri4626 жыл бұрын
Sir Continue the videos. Videos are so clear and the crystal clarity
@sohailharoon94987 жыл бұрын
Finally ,i understood insertion and extraction operator in cpp,thanx sir.
@SkSafowan3 жыл бұрын
this is the best video about this topic in entire the whole internet !!!
@saribnoor2105 Жыл бұрын
From PAKISTAN u explained very well sir
@christinthomas89523 жыл бұрын
your class is ozm am really liking it
@ryanleexuanhao7 жыл бұрын
Thank you sir! you explain it so clearly!!!!
@chaitanyanaik59444 жыл бұрын
sir like your explanation nothing great i from the deep of heart thankyou for your free and much much valued explanation. sir you are unknowingly helping lot of students .lord will give you a great gift for this #noowords#salutetokishoresir
@animeshjaiswal38784 жыл бұрын
Very helpful video highly recommended 🤩🤩🤩
@atulsoam4723 жыл бұрын
Thankyou sir finally I got it
@mohdarbabkhan10312 жыл бұрын
Thanks for clearing my concept!!
@charoniv56313 жыл бұрын
Thank you sir for the awesome video
@zoobisoubisou93777 жыл бұрын
Thank you for this video, it was very helpful!
@Arabic_guy20244 жыл бұрын
Thanks for such a good lecture
@ashishjangra71673 жыл бұрын
Thanks a lot sir ☺️☺️
@Masskalauni3 жыл бұрын
You are Amazing Sir
@pankajverma31973 жыл бұрын
Good explanation
@senthilmurugan20665 жыл бұрын
Thank you sir.....🙏🙏🙏
@sheharyaar63385 жыл бұрын
Very helping video keep it up
@kimron927 жыл бұрын
I have seen that in place of return type as void, which you have used, some people use return type as istream& and ostream& and then return in and out respectively in the end of overloading functions. How is that different?
@anant38777 жыл бұрын
Rohan Kimothi same doubt
@preyas21986 жыл бұрын
I have also this same doubt so please sir reply as soon as possible
@creative_rvish6 жыл бұрын
When we are using cin>>obj1>>obj2>>obj3; Then we must return with&. because obj1 get scanned with cin but for obj2 to get scan with cin it is needed to return
@GajamJayaprasad6 жыл бұрын
@@creative_rvish the difference is simple, let us say there is a add function which add two numbers, it is like printing sum of two numbers within that add function (in case of void return) or returning the sum to an outside variable and printing it(in case of int/float return).......so with void we print the objects in operator function itself and with returning we return the stream of objects and print outside
@amitkumargupta67224 жыл бұрын
because of >> operator is belongs to istream and > and
@chukwuka-steveorefo18126 жыл бұрын
@Naresh i Technologies Hello Mr. Kishore, I can I ask why you have declared and defined the friend function inside the class this time around? Also why have you used &in, &out and &stu in your functions this time but not before? what is the rule/ theory behind using ampersand?
@smarttube11416 жыл бұрын
Because for istream and ostream class there is no this pointer implicitly so it is not work without reference type. If you want to see this go to shallow copy and deep concepts then u able to know
@arunlabana59374 жыл бұрын
@@smarttube1141 but what about stu?? Why we are using reference type there?
@LOVE-ue7un4 жыл бұрын
tqsm sir🙏🙏
@KPfVy2ma6 жыл бұрын
exelent video thanks siir
@jayachandruduchakali32186 ай бұрын
thank you
@shahnawazshaikh47087 жыл бұрын
How can we overload like: Cin››a››b; Where a and b are objects of particular same class
@maddupavan71934 жыл бұрын
to achieve this cin>>a>>b your operator overloading function should return cin and return type must be istream&
@adarshverma33725 жыл бұрын
can we perform this program without using reference variable means can we make normal objects of istream and ostream
@KingUnity225 жыл бұрын
adarsh verma there is no need to do that. You can, I suppose, but that simply allocated more memory for an object that has been predefined. All you need to do is send the cout object and use a reference to access the functionality of it.
@charoniv56313 жыл бұрын
The main purpose of using reference is to minimise memory
@darshanpatidar31554 жыл бұрын
Nice sir
@259_parthpatidar94 жыл бұрын
kaiya gam no he tu
@Unique_one_tour7 жыл бұрын
Very nice
@amitbisht32415 жыл бұрын
Thank U sir
@viswanathgupta74067 жыл бұрын
add function overloading sessions
@vandanagupta5517 жыл бұрын
can we define friend fun inside the class?
@deepakborah83357 жыл бұрын
No we can't define inside the class. friend function is declared inside the class and defined outside the class always.
@amitkumargupta67224 жыл бұрын
yes in case of operator overloading it can be inside or outside of the class....
@ashutoshsingh77134 жыл бұрын
@@amitkumargupta6722 No! U r incorrect!
@sharath57963 жыл бұрын
@@ashutoshsingh7713 he is correct , in case of operator overloading we can define friend function inside or outside the class
@ashutoshsingh77133 жыл бұрын
@@sharath5796 ohhh nice info thanks yar :) new to me.
@souvikghosh12857 жыл бұрын
How are you using without returning the objects in and out ?
@amitkumargupta67224 жыл бұрын
here we are reading the data from in and showing the data by out.....
@rajendraacharya81482 жыл бұрын
does the header file contain .h ?
@rejetimeghavardhan78054 жыл бұрын
For binary operator overload one implicit one explicit na
@rejetimeghavardhan78054 жыл бұрын
You are saying both expliciy
@rejetimeghavardhan78054 жыл бұрын
You are saying both explivit
@259_parthpatidar94 жыл бұрын
@@rejetimeghavardhan7805 both explict
@ashutoshsingh77134 жыл бұрын
This program gives error! Friend operator can't be defined inside the class