What are valid signatures for the Main function?
No Answer is Posted For this Question
Be the First to Post Answer
If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).
5 Answers Microsoft, Motorola,
What are the different types of pointers?
How can I invoke another program from within a C program?
What type is sizeof?
what will happen if you free a pointer twice after allocating memory dynamically ?
a 'c' program to tell that the set of three coordinates lie on a same line
What is an volatile variable?
Why preprocessor should come before source code?
Differentiate abs() function from fabs() function.
why program counter is 16 bit?
What is sizeof in c?
#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā%dā ,a[i]); }