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

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online