Write a code to generate a 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 a pointer and how it is initialized?

0 Answers  


what is call by value and call by reference

4 Answers  


What is the best way to comment out a section of code that contains comments?

0 Answers  


main() { int x=2, y=4 if ((x==2||y==4) x++ y++ if (y==4+1) { x=x+y; } y++; printf("The values of x and y are %d and %d."x,y); } What is the output?

5 Answers   TCS,


What is 'bus error'?

0 Answers  


What is c language and why we use it?

0 Answers  


Explain how can you check to see whether a symbol is defined?

0 Answers  


Can you tell me how to check whether a linked list is circular?

1 Answers  


Binary tree traversing

1 Answers   Qualcomm,


What are the different types of pointers?

4 Answers   HCL, TCS,


Tell me when is a void pointer used?

0 Answers  


Is c++ based on c?

0 Answers  


Categories