- q1: WAP to add and subtract two numbers
- q2: WAP to add and subtract two numbers using function and display result inside function
- q3: WAP to add and subtract two numbers using function and display result from main
- q4: WAP to show function overloading
- q5: WAP to calculate area of circle(radius), rectangle(l,b), area of triangle(a,b,c) using function overloading
- q6: WAP to show default argument
- q7: WAP to calculate price of n items. Pass number of items and unit price to a function and return total price. If unity price is not specified use Default price
- q8: WAP to show DMA
- q9: WAP to take n numbers from user and display their average. Also create memory dynamically for array and delete it
- q10: WAP to show the use of inline function
- q11: WAP to show reference variable
- q12: WAP to show passing argument as reference
- q13: WAP to show return by reference
- q14: WAP to swap 2 values using function and reference variable. Display result from main
- q15: WAP to show how namespace works
- q16: WAP to create file named "programmerone.cpp" with function display. Also create file named "Programmetwo.cpp" with function named display. Access both display from third program named "result.cpp". Use namespace whenever needed