Average of a couple 10 years ago was 25. The average
remains same after having a child and twins after 3 years.
What is the present age of the first child
Answer Posted / dinesh
Can any one explain the solution? plz
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a program to generate address labels using structures?
Explain what are the advantages and disadvantages of a heap?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Why is it important to memset a variable, immediately after allocating memory to it ?
What is data structure in c and its types?
how to write a c program to print list of fruits in alpabetical order?
praagnovation
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
what is the significance of static storage class specifier?
What does nil mean in c?
Explain how can you be sure that a program follows the ansi c standard?
What is array of structure in c programming?
What is dynamic memory allocation?