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 following ANSI C program: int main() { Integer x; return 0; } Which one of the following phases in a seven-phase C compiler will throw an erro...
#1068 MCQ
Consider the following ANSI C program. What is the output of the above program?
#1075 MCQ
Consider the following ANSI C function: The value returned by SomeFunction(15, 255) is _______.
#1088 Fill in the Blanks

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......