What are some advantages/disadvantages of using friend functions?
The friend function is called using the f(x).It is a non member function of a class.friend is a keyword, u can access the data of other funtion using this.
the disadv is that they add to the global namespace.
Home
Site pages
Blogs
Tags
Courses
IT
UnixPorting
Management
R
Solaris
AIX
WebHosting
Documentation
FinalYearProjects
Linux
ShellScripting
SQL
OracleSQL
OracleAdministration
OraclePL/SQL
Java
JAVAEE
JavaeeFramework
PHP
MySQL
Perl
C++
Participants
General
News forum
Discussion Forum
What are some advantages/disadvantages of using fr...
GITHUB : C++ Examples
Slide Show : C++ Programming : By OpenGurukul
Preface
Beginning with C++
Control Structures
Functions
Classes & Objects
Constructors & Destructors
Inheritance
Pointers, Virtual Functions
Console Input/Output
Files Input/Output
Templates
Standard Template Library
Namespaces
Advanced Topics
View all courses
www.opengurukul.com
Course administration
Enrol me in this course