Write a code of a general series where the next element is the sum of last k terms.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the difference between definition and declaration? give me some examples.

2 Answers   TCS,


program to find the second largest word in a paragraph amongst all words that repeat more thn twice

4 Answers   CTS, iGate,


dennis ritchie invented C language in AT&T bell laboratory what is the extension of AT&T?

4 Answers  


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

0 Answers   Subex,


Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.

11 Answers   Microsoft,


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

0 Answers   RBI,


I came across some code that puts a (void) cast before each call to printf. Why?

0 Answers  


Can you subtract pointers from each other? Why would you?

0 Answers  


how to print 212 as Twohundreds twelve plz provide me ans soon

1 Answers  


Why can’t we compare structures?

0 Answers  


Explain what is the advantage of a random access file?

0 Answers  


Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

2 Answers  


Categories