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

how to print 2-D array using a single for loop?

2 Answers   Mind Tree, TCS, Value Labs,


Is there a way to jump out of a function or functions?

0 Answers  


Explain why can’t constant values be used to define an array’s initial size?

0 Answers  


What is "Hungarian Notation"?

0 Answers   Celstream,


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,






Explain low-order bytes.

0 Answers  


What is the meaning of && in c?

0 Answers  


What are examples of structures?

0 Answers  


What is the difference between mpi and openmp?

0 Answers  


how to get the starting address of file stored in harddisk through 'C'program.

2 Answers   Siemens,


write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4

1 Answers  


Explain what is the benefit of using an enum rather than a #define constant?

0 Answers  


Categories