When the macros gets expanded?
No Answer is Posted For this Question
Be the First to Post Answer
how to determine the complexity of an algorithm as log(n)
Why void is used in c?
What do you understand by friend-functions? How are they used?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
In C language, a variable name cannot contain?
What is a symbolic constant?
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
write an algorithm and c program to add two 2x2 matrics
What is a structure in c language. how to initialise a structure in c?
What is the use of pointers in C?
0 Answers Impetus, Motorola, Tavant Technologies, Virtusa,
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,