Computer Science, asked by urmisarkar2020, 7 months ago

Consider the following code segment.

#include <iostream> #include <algorithm using namespace std;

bool compare(int i, int j) { return (i > j);

int main() {

int data[] = { 40, 30, 90, 10, 2050706080 ; Compare);

sort(data,

-

for (int i - 0; i <9; i++) cout « data[i] << "";

return 0;

Fill in the blank with appropriate options, such that the output is: 90 40 30 20 10 50 70 60 80

a) data + 9

b) data + 5

c) data [8]

d) & data [5]​

Answers

Answered by kumarshaadhana
0

Answer:

b) data + 5 mark me as brainliest

Similar questions