OPerators overload - { double m = 5, n = 3; int k = 5, p =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream.h> double test (double a, double b) { return a + b; } int test (int a, int b) { return a - b; } void main ()
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { double m = 5, n = 3; int k = 5, p = 3; cout << test(m, n) << " , " << test(k, p) << endl; }...
View Full Document

This note was uploaded on 02/26/2012 for the course MBA IT DOM1 taught by Professor Kviswanathan during the Spring '12 term at Indian Institute of Technology, Chennai.

Ask a homework question - tutors are online