Computer Sciences > GATE 2014 SET-1 > C
Consider the following C function in which size is the number of elements in the array E:
The value returned by the function MyX is the
A
maximum possible sum of elements in any sub-array of array E.
B
maximum element in any sub-array of array E.
C
sum of the maximum elements in all possible sub-arrays of array E.
D
sum of all the elements in the array E.

Correct : a

Similar Questions

Consider the function func shown below: int func(int num) {     int count = 0;     while (num) {       &nb...
#1240 NAT
Consider the function func shown below: int func(int num) {     int count = 0;     while (num) {       &nb...
#1240 NAT
Consider the function func shown below: int func(int num) {     int count = 0;     while (num) {       &nb...
#1240 NAT

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......