Friend Function in C++ Part 1 | C++ Tutorial | Mr. Kishore

  Рет қаралды 167,064

Naresh i Technologies

Naresh i Technologies

Күн бұрын

C ++ Tutorial Videos | Mr. Kishore
** For Online Training Registration: goo.gl/r6kJbB ► Call: +91-8179191999
💡 Also Watch
C Language Tutorials: goo.gl/qDhJ2r
Core Java FAQ's: goo.gl/qGh5mA
Core Java Tutorials: goo.gl/NbaEge
Java Programming Tutorials by Mr.Hari krishna:
goo.gl/HThq6H
Advanced Java Programming Tutorials by Mr.Nataraj:
goo.gl/1U2Qgy
Subscribe to our channel and hit the bell 🔔🔔🔔 icon to get video updates.
💡 Visit Our Websites
For Classroom Training: nareshit.in/cp...
For Online Training: nareshit.com/c...
#JavaCollectionsFramework #Tutorials #Videos #corejava #Quiz #Clanguage
--------------------------
💡 About NareshIT:
"Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations
--------------------------
💡 Our Online Training Features:
🎈 Training with Real-Time Experts
🎈 Industry Specific Scenario’s
🎈 Flexible Timings
🎈 Soft Copy of Material
🎈 Share Videos of each and every session.
--------------------------
💡 Please write back to us at
📧 us.training@nareshit.com/ 📧 online@nareshit.com or Call us at the USA: ☎+1404-232-9879 or India: ☎ +918179191999
--------------------------
💡 Check The Below Links
► For Course Reg: goo.gl/r6kJbB
► Subscribe to Our Channel: goo.gl/q9ozyG
► Circle us on G+: plus.google.co...
► Like us on Facebook: / nareshit
► Follow us on Twitter: / nareshitek
► Follow us on Linkedin: goo.gl/CRBZ5F
► Follow us on Instagram: goo.gl/3UXYK3

Пікірлер: 100
@NareshIT
@NareshIT 5 жыл бұрын
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
@maddurumesh2348
@maddurumesh2348 2 жыл бұрын
Ok
@pratiksinghmalik7920
@pratiksinghmalik7920 6 жыл бұрын
Thank-you sir, had a great experience and I'll also recommend your page to my "FRIENDS" ;).
@tejashreesawant9555
@tejashreesawant9555 3 жыл бұрын
All lectures of this channel are awesome👌👌also teachers tooooo much knowledgeable 👌every concept get cleared quickly 👌🙏🙏thanks a lot sir 🙏
@alekhyareddy4624
@alekhyareddy4624 3 жыл бұрын
First time I got interest on computer science and I'm listening ur videos to score in my xams thank u sooo much sir..
@gorrepatimadhu6025
@gorrepatimadhu6025 4 жыл бұрын
U r my c++ guru sir...thank u so much.🤗🤗
@thomaskipkemeituitoek949
@thomaskipkemeituitoek949 7 жыл бұрын
I like the way you explain, you give the real and well foundation of understanding friend function..
@ahadsun1188
@ahadsun1188 4 жыл бұрын
u''ve got a great skill of teaching
@ahmednafiunoman5040
@ahmednafiunoman5040 5 жыл бұрын
Thank u sir ......love from Bangladesh
@sheetalgupta8481
@sheetalgupta8481 5 жыл бұрын
Sir this video is very very helpful .... specially d exams tym ..... .... 🙏🙏 Thnq so much. ....Ur teaching skills r fabulous 👌👌
@dharmsingh-gx6si
@dharmsingh-gx6si 11 ай бұрын
mam in which company you are placed
@deveshnandan323
@deveshnandan323 10 ай бұрын
You are GEM SIR , Thank YOU for the amazing explanation :)
@Blaze-vk3sj
@Blaze-vk3sj 2 жыл бұрын
Best teacher so far❤️
@hemantbagul9830
@hemantbagul9830 Жыл бұрын
every concept get cleared quickly
@swivtras9966
@swivtras9966 5 жыл бұрын
These videos are helpful. Is there any video around there about C++ linked list?
@amarmohamed3766
@amarmohamed3766 Жыл бұрын
Your explanation is awesome
@shashank6803
@shashank6803 6 жыл бұрын
Wonderfully example
@EasyMathematics01
@EasyMathematics01 2 жыл бұрын
Nice friend analogy .
@sriharip9899
@sriharip9899 3 жыл бұрын
mobile example was awesome!!!!!!!!
@mageswari9682
@mageswari9682 Жыл бұрын
Very well explained
@balajimutyala798
@balajimutyala798 4 жыл бұрын
Don't try to pass the object as the function argument, Use object refernce in the function definition to access the values
@vishalhere2153
@vishalhere2153 2 жыл бұрын
I too have same doubt..thanks bro
@GULLAPUDILIKITHBCE
@GULLAPUDILIKITHBCE 2 жыл бұрын
why?
@boombeachnoob3642
@boombeachnoob3642 2 жыл бұрын
@@GULLAPUDILIKITHBCE You VITan ?
@GULLAPUDILIKITHBCE
@GULLAPUDILIKITHBCE 2 жыл бұрын
@@boombeachnoob3642 yes
@charless3440
@charless3440 6 жыл бұрын
Thank you sir super and clear class sir I am not understand mam teaches in my class but I can able to understand your teaching sir thank you sir
@asiminamdar7981
@asiminamdar7981 2 жыл бұрын
Very Informative Video
@rohitchandak6604
@rohitchandak6604 4 жыл бұрын
Grt video love the way yoy teach sir
@rohitchandak6604
@rohitchandak6604 4 жыл бұрын
*you
@bengalisareeshubstore3633
@bengalisareeshubstore3633 2 жыл бұрын
Don't thank us, rather, thanks to you...
@iniyaviji2796
@iniyaviji2796 Жыл бұрын
You are amazing sir thank u so much sir
@abufaya4155
@abufaya4155 6 жыл бұрын
Clear n brief explanation tnk u sir;
@bishwajeetpandey1570
@bishwajeetpandey1570 5 жыл бұрын
I think it is not against data hiding concept becoz if we not allow deceleration of friends function in class then function can not acces private data members of that class so to use private data friend functon must authorised by class . .... If i m wrong clear it plzz
@memehhme
@memehhme 2 жыл бұрын
Thankyou so much sir....
@asaduzzaman3680
@asaduzzaman3680 6 жыл бұрын
very detail explanation. thank you.
@simracingexe
@simracingexe 2 жыл бұрын
easy explanations 😌hats off to you🤝
@abhinavgupta7188
@abhinavgupta7188 5 жыл бұрын
He is going to discover friend function. 0:22
@zahidshaikh3122
@zahidshaikh3122 4 жыл бұрын
discovery was awsome.
@uputoorikishore9548
@uputoorikishore9548 6 жыл бұрын
This is very helpful..thankyou so much
@siddharthdangwal6174
@siddharthdangwal6174 2 жыл бұрын
awesome explantaion
@shiva1147
@shiva1147 4 жыл бұрын
Sir u teaching is awesome love so much sir
@sanjaymahli7772
@sanjaymahli7772 2 жыл бұрын
Very nice sir
@aryanraghu5344
@aryanraghu5344 6 жыл бұрын
Super example sirr
@pe_P
@pe_P 3 жыл бұрын
Thankyou so much sir♥️
@mshanmukhavalli4567
@mshanmukhavalli4567 5 жыл бұрын
This videos helps a lot . Thank u so much sir Keeping doing these type of videos sir
@chintajayaprakash5590
@chintajayaprakash5590 7 жыл бұрын
explanation super sir really i liked it and learned a lot
@user-kr6jn5bp5p
@user-kr6jn5bp5p 2 жыл бұрын
Friend function can declare eigther in private or a public part of the class 🙂
@Sridhar-mm6wl
@Sridhar-mm6wl 4 жыл бұрын
13:02 sample is class name but not object right!!
@dhruvsingh1837
@dhruvsingh1837 4 жыл бұрын
yes
@HistoricalHorizons5
@HistoricalHorizons5 5 жыл бұрын
great ................finalyy i understand concept of friend function
@shhhahil
@shhhahil 3 жыл бұрын
Thank You, Sir.
@katrinejensrud537
@katrinejensrud537 4 жыл бұрын
fantastic teacher!
@salmanfaries3064
@salmanfaries3064 4 жыл бұрын
Amazing explanation
@localboyentry6892
@localboyentry6892 4 жыл бұрын
It is very useful
@mohan5e396
@mohan5e396 5 жыл бұрын
sir u didn't used access specifier ..y? don't need........?
@sjenku250
@sjenku250 4 жыл бұрын
if you don't specify access specifiers, the class automatically specify data members and function members as "private"...and about the "friend function"...friend function not member function of the class..it's mean this function can be defined in any place in your program...therefore you don't need to specify which type of access to the friend function
@rakshitmandilwar2817
@rakshitmandilwar2817 4 жыл бұрын
Good bro keep going i love ur ascent
@rajeshmandalapu6876
@rajeshmandalapu6876 5 жыл бұрын
Please explain with character pointer instead of int. If it is a pointer how it allocate memory
@baindlanareshnaresh3315
@baindlanareshnaresh3315 3 жыл бұрын
Super sir👍👍
@yontenwangchuk1133
@yontenwangchuk1133 7 жыл бұрын
i like ur tutorial
@TechnicalKaifOfficial
@TechnicalKaifOfficial 6 жыл бұрын
Awesome Sir
@asgerali1111
@asgerali1111 2 жыл бұрын
can a friend function be created without using constructor????
@sulekhaprajapati6891
@sulekhaprajapati6891 6 жыл бұрын
Thnk u sir..
@GULLAPUDILIKITHBCE
@GULLAPUDILIKITHBCE 2 жыл бұрын
we cant pass user defined functions as arguments?
@ARGaming-nj8bw
@ARGaming-nj8bw 7 жыл бұрын
good explanation sir
@amitkumargupta6722
@amitkumargupta6722 4 жыл бұрын
The only error in this program is found is that...we must declare the class test2 before we use in the class test1 with friend function......here my code is given below for it......
@ridewithuday203
@ridewithuday203 6 жыл бұрын
Thank u so much sirrr
@viswanathgupta7406
@viswanathgupta7406 7 жыл бұрын
Upload Friend function next session sir
@aryanomar7439
@aryanomar7439 6 жыл бұрын
you are declaring function outside, why not using class name followed by scope operator.
@dhananjaypanage2472
@dhananjaypanage2472 5 жыл бұрын
Because it's a friend functions it does not belong to any class, so we don't need to use class name and scope resolution operator preceding it!
@vivekdhiman3675
@vivekdhiman3675 4 жыл бұрын
my doubt : sir when we are defining this friend function why we are not using the scope resolution operator
@SkSingh-xf3ck
@SkSingh-xf3ck 4 жыл бұрын
Because friend function is not a member function of the class.
@mounikanayikoti2393
@mounikanayikoti2393 3 жыл бұрын
Because it is not a member function of that class
@polytechbadi8591
@polytechbadi8591 6 жыл бұрын
Sir plz upload about inline function in cpp
@tuliprubina9956
@tuliprubina9956 5 жыл бұрын
thanks sir
@PainDive1
@PainDive1 6 жыл бұрын
Awesome!
@manishkanna532
@manishkanna532 6 жыл бұрын
thank u so much sir
@yaminiraveendran1
@yaminiraveendran1 5 жыл бұрын
Can u upload a vedio for inline function
@jeyanthnallathambihospital2208
@jeyanthnallathambihospital2208 4 жыл бұрын
Hi sir I known only Tamil so I want Tamil explaination sir .so I can't understand.plz convert into Tamil,English,Hindi,Malayalam and hindi.because we are school students
@jeyanthnallathambihospital2208
@jeyanthnallathambihospital2208 4 жыл бұрын
Real
@asgerali1111
@asgerali1111 2 жыл бұрын
i pasted the same code in visual studio but the code shows an error when i change access modifier from public to private.... can anyone help me out?
@amitkumargupta6722
@amitkumargupta6722 4 жыл бұрын
#include #include #include using namespace std; class test2; class test1 { int a; public: void get1() { cout
@mschaudhari6174
@mschaudhari6174 7 жыл бұрын
Hello sir, why virtual constructor not possible???
@stctuts9415
@stctuts9415 6 жыл бұрын
because virtual functions are made for overridden means it works for child class not for their own class. but constructors are only made for their class. so it can not be virtual. clear your concepts from our channel - STC Tuts
@merajsyed6987
@merajsyed6987 5 жыл бұрын
never do this print(sample s)... it should be print(sample& s)...... U WILL GET INTO trouble
@vsarts1967
@vsarts1967 4 жыл бұрын
Why ?
@merajsyed6987
@merajsyed6987 4 жыл бұрын
@@vsarts1967 pass by reference is a good practice. Passing by values creates temporary objects and is not a good idea unless you cannot avoid passing by value. Write some program to update an object inside a function. If u pass by value then the temp object gets updated and not the actual object. class sample{ public: int a; int b } void updatesample(sampe& s)->pass b reference ( no temp object created, actual object gets updated) void updatesample(sample s)--> pass by value (actual object wont be updated , temp objects get updated and is dangerous) check the address of inside printsample void printsample(sample &s)-> void printsample(sample s)->
@vsarts1967
@vsarts1967 4 жыл бұрын
@@merajsyed6987 thnx 👍
@sachins4185
@sachins4185 6 жыл бұрын
friend function should define in public section
@hrroopesh5722
@hrroopesh5722 6 жыл бұрын
ur code didnt compile
@viraj_plus
@viraj_plus 5 жыл бұрын
no too many functions, only one fask. Means frnd function
@amalfrancis4846
@amalfrancis4846 7 жыл бұрын
sir ..if you can come my college as a sir ....
@bunlong5760
@bunlong5760 4 жыл бұрын
When I run your code always error . Why??
@letusstudy6311
@letusstudy6311 6 жыл бұрын
Sir, you explain well but can you speak in Hindi
@stctuts9415
@stctuts9415 6 жыл бұрын
Learn friend function & class concept in C++ programming language from our channel - STC Tuts Easy Learning 1. Basic Concept 2. Deep Concept 3. Program Example from our Channel. Visit us !
@swathithatikonda6722
@swathithatikonda6722 3 жыл бұрын
Friend .!
@nirmaladamu8593
@nirmaladamu8593 6 жыл бұрын
Thank u sir
@dipeshrana1719
@dipeshrana1719 6 жыл бұрын
Thank you so.much sir.....
Friend Function in C++ Part 2 | C++ Tutorial | Mr. Kishore
8:33
Naresh i Technologies
Рет қаралды 82 М.
Operator Overloading in C++ Example 1 | C++ Tutorial | Mr. Kishore
31:48
Naresh i Technologies
Рет қаралды 227 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 17 МЛН
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,1 МЛН
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 6 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 79 МЛН
Friend functions and classes in C++ (Programming for beginners)
18:18
What is a function prototype in C
4:38
Jacob Sorber
Рет қаралды 17 М.
Friend Class in C++ Example 1 | C++ Tutorial | Mr. Kishore
15:05
Naresh i Technologies
Рет қаралды 99 М.
Destructor in C++ | C++ Tutorial | Mr. Kishore
13:27
Naresh i Technologies
Рет қаралды 89 М.
Constant Members in Class | C++ Tutorial | Mr. Kishore
20:04
Naresh i Technologies
Рет қаралды 55 М.
the TRUTH about C++ (is it worth your time?)
3:17
Low Level
Рет қаралды 725 М.
Inline Functions & Default Parameters in C++ Programming
13:31
Simple Snippets
Рет қаралды 110 М.
Friend Functions in C++ Programming | Object Oriented Programming in C++
10:03
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 17 МЛН