Is that possible to add pointers to each other?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
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 is structure of c program?
Is printf a keyword?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Write the syntax and purpose of a switch statement in C.
Explain how do you generate random numbers in c?
Is there any data type in c with variable size?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
how to sort two array of characters and make a new array of characters.
Define Array of pointers.
Tell me what are bitwise shift operators?