## CS6461 OBJECT ORIENTED PROGRAMMING Lab Manual

Anna University Regulation 2013 Electrical and Electronics Engineering (EEE) CS6461 OOPS LAB Manual for all experiments is provided below. Download link for EEE 4th SEM CS6461 OBJECT ORIENTED PROGRAMMING Lab Manual is listed down for students to make perfect utilization and score maximum marks with our study materials.

### Anna University Regulation 2013 Electrical and Electronics Engineering (EEE) 4th SEM CS6461 OOPS LAB-OBJECT ORIENTED PROGRAMMING Lab Manual

PROGRAM USING FUNCTIONS
Ex No: 1 (A) DEFAULT ARGUMENTS IN C++
AIM:
To write a C++ program to find the sum for the given variables using function with default arguments.
ALGORITHM:
Step 1: Start the program.
Step 2: Declare the variables and functions.
Step 3: Give the values for two arguments in the function declaration itself.
Step 4: Call function sum() with three values such that it takes one default arguments.
Step 5: Call function sum() with two values such that it takes two default arguments.
Step 6: Call function sum() with one values such that it takes three default arguments
Step 7: Inside the function sum(), calculate the total.
Step 8: Return the value to the main() function.
Step 9: Display the result.

Output:
sum=45
sum=14
sum=29
sum=40
sum=47
sum=32

CS6461 OBJECT ORIENTED PROGRAMMING Lab Manual with all experiments – Download Here

If you require any other notes/study materials, you can comment in the below section.

Search Terms

Anna University 4th SEM EEE OBJECT ORIENTED PROGRAMMING LAB Manual