MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following?#include using namespace std;int main(){int arr[] = {11, 51, 81, 91, 61, 71, 31, 41, 21};int n = sizeof(arr) / sizeof(arr[0]);sort(arr, arr + n, greater());cout |
| A. | 0 |
| B. | Abnormal termination of program |
| C. | 11 21 31 41 51 |
| D. | 91 81 71 61 51 41 31 21 11 |
| Answer» E. | |