MCQOPTIONS
Saved Bookmarks
| 1. |
#include <iostream>using namespace std;template <typename T>T max (T& p, T& q) { return (p>q?p:q); }int main () { int x = 55, y = 60, m; long a = 105, b = 53, n; m = max(x, y); n = max(a, b); cout << m << endl; cout << n << endl; return 0;}12.What is the output of this program? |
| A. | 2.1 |
| B. | 3.1 |
| C. | 4.1 |
| D. | 2.1 3.1 4.1 |
| Answer» E. | |