Returning Objects In C++ Programming || Object Assignment In C++ Language

  Рет қаралды 8,236

Sudhakar Atchala

Sudhakar Atchala

Күн бұрын

Пікірлер
@oscarsentertainment2653
@oscarsentertainment2653 3 ай бұрын
Thankyou sir for making it clear ❤
@SudhakarAtchala
@SudhakarAtchala 2 ай бұрын
So nice of you. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
@chetanputtappanavar3425
@chetanputtappanavar3425 4 жыл бұрын
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.
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Name of concept is returning objects that's why an object for class is created and returned.
@YashYadav-cj7xk
@YashYadav-cj7xk 2 жыл бұрын
subscribed
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Thanks
@anoopsathyan2871
@anoopsathyan2871 4 жыл бұрын
Sir why you rub c3 and write t
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
we can type c3 also , no problem Anoop. Plz subscribe to the channel and if possible share with your friends. Thank you so much
@anoopsathyan2871
@anoopsathyan2871 4 жыл бұрын
@@SudhakarAtchala if we wite c3 ,then there will be two c3 ..so it makes any error??
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
@@anoopsathyan2871 no one c3 in sum () and other in main( ) both are different. In order to avoid confusion only in main() i used temp
Returning Object From Member Function(Urdu/Hindi)
7:23
IT Series
Рет қаралды 7 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Friend Functions in C++ Programming | Object Oriented Programming in C++
10:03
the TRUTH about C++ (is it worth your time?)
3:17
Low Level
Рет қаралды 805 М.
C++ Passing and Returning Objects from Functions in Hindi
16:15
Easy Engineering Classes
Рет қаралды 12 М.
Friend Function In C++ Programming
14:38
Sudhakar Atchala
Рет қаралды 13 М.
Class Templates in C++ with Program Example | C++ Programmming
8:27
Simple Snippets
Рет қаралды 148 М.
Object as Function Argument in C++ in Hindi (Lec-15)
20:53
Zeenat Hasan Academy
Рет қаралды 20 М.
do you know how "return" works under the hood? (are you SURE?)
5:08