Do any one please.
3 3 (a) The max and min functions defined in <algorithm can be used to compare any two objects 10 for which the less-than (<) and greater than >) operators are defined. Use these functions in a program to compare two integers, two doubles, and two strings. These two templated functions are defined as shown below: const T& max (const T& first, const T& second) • const T& min (const T& first, const T& second) OR (b) Below are some file modes concerning the file handling in C++. 10 wb rb+ ab a+ r+ Illustrate what each of them implies and give the proper C++ syntax (code snippets) to implement these modes in C++ programs.
3 3 (a) The max and min functions defined in
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
3 3 (a) The max and min functions defined in
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!