QEEE Session On
“Operator Overloading - Object Oriented Programming”
February 8, 2017 to February 10, 2017
QEEE Session on “Operator overloading - Object Oriented Programming” was organized by IIT Madras atDronacharya Group of Institutions, Greater Noida during 8th - 10th February 2017. The session was conducted byProf. (Dr.) Rupesh Narse, IIT Madras. Students from CSE /CSIT / IT IV sem participated in the session along with the local faculty coordinators Dr. Somnath Sinha and Ms. Shilpi Jain.
Day 1: 08 February, 2017
Prof. (Dr.) Rupesh Narse started the session with a discussion on ‘Class’ and ‘Object’. He explained concept ofoverloading, polymorphism and gave brief description about ‘Operator Overloading’ and ‘Function Overloading’. He demonstrated several examples of operator overloading with the example of ‘+’ operator overloading.
Dr. Narse continued the session with the explanation of “Rules of operator overloading” in which he stated some important points such as operator must be overloaded for a user - defined class, we cannot define a new symbol as operator etc. He also focused on non - over loadable operators like member operator, sizeof() operator, typedef() operator, ternary operator etc. Demonstration of unary operator overloading was also explained with example.
During the interactive session students asked few questions such as difference between operator overloading and over ridding, benefits of using operator overloading. The session ended with the satisfactory explanation of the queries by Dr. Narse.
Day 2: 09 February 2017
Prof. (Dr.) Narse started his lecture with brief recap of the topic covered on Day 1. He then started the session with the concept of Operator Overloading with friend function. He also explained how friend function is used in overloading operators with some programming code. Properties of malloc() and calloc() functions with example were also explained. He continued his session on overloading of LEFT SHIFT AND RIGHT SHIFT operators. He also discussed about different types of methods for implementing operator overloading.
Day 3: 10th February 2017
The last day’s session started with the discussion on left shift and right shift operator overloading precedence. Dr Narsetalked about importance of overloading and overriding. He discussed about Null pointer, garbage class, garbage collection, shallow and deep copy methods, smart pointer etc. The session came to an end at 3:50 PM with fruitful discussion on overloading.