1/19/24, 11:51 PM introduction to friend function in c++
C++ TUTORIAL FOR BEGINNERS IN
HINDI
HOME BLOGGER CATEGORY FEATURES
introduction to friend function in c++ MOST POPULAR
by easyquicklearn.com - December 02, 2021 basic structure of c
program with an exam
in hindi
operator in c language
with example - types o
operator ( arithmetic ,
Friend function relational, logical ,
conditional, bitwise ) in
Friend function class का member function नहीं होता है फिर भी वह class hindi 2020
की private data को direct access करता है|
CONDITIONAL AND
CONTROL STATEMENT
Feature of friend function C LANGAUGE WITH
EXAMPLE (IN HINDI 20
1) किसी भी function फं क्शन को friend function बनाने के लिए एक friend
keyword का use करते हैं| data type in c languag
hindi - different type o
data type in c
2) Friend function class फ्रें ड फं क्शन क्लास के public पब्लिक section शिक्षण
में declare डिक्लेअर किया जाता है | OPERATOR OVERLOAD
IN C++
3) Friend function को class क्लास के बाहर define डिफाइन करते समय
scope resolution operator रेजोल्यूशन ऑपरेटर का उपयोग या use नहीं
किया जाता | loop control statemen
c , while loop, for loop
4) friend function में argument class का object होता है| while loop with examp
entry and exit control
loop)
5) friend function को class के object के बिना call किया जाता है|
6) friend function class के member data और member function को
directly use करता है यह class के argument के द्वारा class के data को . CATEGORIES
operator के द्वारा access एक्सेस करता है|
C Plus Plus (35)
SYNTAX OF FRIENDS FUNCTION C Tutorial (19)
class classname Fundamental (1)
{
MAIN TAGS
public:
friend void function name (class type argument)
}; Home Features
Download This
Template
Example:-
Write a program addition of two number using friend function.
c plus plus c tutorial fundamental
#include<iostream.h>
#include<conio.h>
class sum
https://www.easyquicklearn.com/2021/12/introduction-to-friend-function-in-c.html 1/5
1/19/24, 11:51 PM introduction to friend function in c++
int a,b;
public:
sum(int x,int y)
ARRAY OF C LANGUAGE
{ Array is a collection of similar type d
item| 1)array में store स्टोर किए गए
a=x; data item आइटम्स को data eleme
कहते ह...
b=y;
}
OPERATOR OVERLOADING IN C++
friend int add (sum&);
OPERATOR OVERLOADING Operator
overloading c++ का advance feature हो
};
है यह c++ के feature को improve कर
के लिए important ...
int a,b,c;
int add(sum & arg)
{ basic structure of c program with an
example in hindi
c=arg.a+arg.b; structure of c program 1)
documentation section 2) link
return c; section 3) definition section 4)
global declaration...
}
void main()
{ operator in c language with example
types of operator ( arithmetic , relatio
sum s(10,20); logical , conditional, bitwise ) in hindi
2020
cout<<add(s); OPERATOR IN C LANGUAGE WITH
EXAMPLE Operator:- operator एक
getch(); symbol होता हैं जिसका use operand के बी
में calculation के लिये किया जाता है...
}
c plus plus
CONDITIONAL AND CONTROL
STATEMENT IN C LANGAUGE WITH
Share on Facebook Tweet EXAMPLE (IN HINDI 2020)
Conditional and control statement=>
में condition check करने के लिए two typ
You might like के conditional statement use किए जाते
1)i...
Enter keyword...
EXCEPTION HANDLING IN C++ MANIPULATORS IN ++ WITH FILE HANDLING IN C++,
January 15, 2024 EXAMPLE WORKING WITH FILE
September 27, 2023 December 13, 2022
Previous Post Next Post
https://www.easyquicklearn.com/2021/12/introduction-to-friend-function-in-c.html 2/5
1/19/24, 11:51 PM introduction to friend function in c++
Post a Comment
if you have any dout please let me know
Enter comment
AD BANNER
BANNER 728X90
FIRST PROGRAM OF C ++
C PLUS PLUS - SEPTEMBER 13, 2020
Powered by Blogger
ABOUT ME
easyquicklearn.com
View my complete profile
Post Style Feature
Pages Categories
SEARCH THIS BLOG
Search this blog SEARC
ARSIP
https://www.easyquicklearn.com/2021/12/introduction-to-friend-function-in-c.html 3/5
1/19/24, 11:51 PM introduction to friend function in c++
January 2024 (1)
October 2023 (3)
September 2023 (5)
December 2022 (2)
October 2022 (1)
September 2022 (1)
August 2022 (3)
December 2021 (3)
October 2021 (8)
November 2020 (2)
October 2020 (8)
September 2020 (18)
FACEBOOK
banner image
Disclaimer Privacy Policy
Contact Us
Followers (22) Next
Unfollow
random post Labels RECENT POST
ARRAY OF C LANGUAGE C Plus Plus (35) basic structure of c progr
with an example in hindi
C Tutorial (19)
Fundamental (1)
OPERATOR OVERLOADING IN operator in c language wi
C++ example - types of operat
arithmetic , relational, log
conditional, bitwise ) in h
2020
basic structure of c program
with an example in hindi
CONDITIONAL AND CONT
STATEMENT IN C LANGAU
https://www.easyquicklearn.com/2021/12/introduction-to-friend-function-in-c.html 4/5
1/19/24, 11:51 PM introduction to friend function in c++
operator in c language with WITH EXAMPLE (IN HINDI
example - types of operator (
arithmetic , relational, logical , data type in c language in
conditional, bitwise ) in hindi - different type of data ty
2020
CONDITIONAL AND CONTROL
OPERATOR OVERLOADING
STATEMENT IN C LANGAUGE
C++
WITH EXAMPLE (IN HINDI 2020)
Home About Privacy Disclaimer Con
Copyright (c) 2020www.easyquicklearn.com All Right Reseved
https://www.easyquicklearn.com/2021/12/introduction-to-friend-function-in-c.html 5/5