The concept of pass by reference and pass by the pointer by swapping two numbers example.
Difference between pointer and reference variables.
Actual and formal parameters, function call return by reference
Actual parameters are parameters as they appear in function calls.
Formal parameters are parameters as they appear in function declarations/definition.
The call by reference method of passing arguments to a function copies the reference of an argument into the formal parameter.
Swapping two numbers using pass by pointer and pass by reference methods
Returning reference variable from a function
GTU - Computer Engineering (CE) - Semester 4 - 2140703 - Object Oriented Programming with C++ - Concepts of C++ - Introduction to Object Oriented Programming
Object-Oriented Programming with C++ PPTs are available here: http://www.darshan.ac.in/DIET/CE/GTU-...
This video is recorded by Prof. Rupesh Vaishnav ([email protected], +91-9428037452) at Computer Engineering Department of Darshan Institute of Engineering & Technology, Rajkot as per GTU Syllabus.
Darshan Institute of Engineering & Technology, Rajkot is a leading institute offering undergraduate, graduate and postgraduate programs in engineering. The Institute is affiliated to the Gujarat Technological University (GTU) and approved by the AICTE, New Delhi.
Visit us: http://www.darshan.ac.in
Write us: [email protected]
Facebook: / darshaninstitute.official
Twitter: / darshan_inst
Instagram: / darshan_inst