So nice of you. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
@chetanputtappanavar34254 жыл бұрын
C3 object is created inside the sum method. So its lifetime is till the end the sum method. They why are you returning that object? Is it a correct way or am I wrong? I will subscribe to your channel if I get answer for this question.
@SudhakarAtchala4 жыл бұрын
Name of concept is returning objects that's why an object for class is created and returned.
@YashYadav-cj7xk2 жыл бұрын
subscribed
@SudhakarAtchala2 жыл бұрын
Thanks
@anoopsathyan28714 жыл бұрын
Sir why you rub c3 and write t
@SudhakarAtchala4 жыл бұрын
we can type c3 also , no problem Anoop. Plz subscribe to the channel and if possible share with your friends. Thank you so much
@anoopsathyan28714 жыл бұрын
@@SudhakarAtchala if we wite c3 ,then there will be two c3 ..so it makes any error??
@SudhakarAtchala4 жыл бұрын
@@anoopsathyan2871 no one c3 in sum () and other in main( ) both are different. In order to avoid confusion only in main() i used temp