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 does #define work?

0 Answers  


How does selection sort work in c?

0 Answers  


Is null valid for pointers to functions?

0 Answers  


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database

2 Answers   TCS, Unisys, Webyog,


What's the right way to use errno?

0 Answers  






What is Function Pointer? Explain with example?

3 Answers  


wap in c to accept n number display the highest and lowest value

2 Answers  


What is d'n in c?

0 Answers  


write a program in c language to print your bio-data on the screen by using functions.

6 Answers   College School Exams Tests, IBM,


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


What does void main return?

0 Answers  


What are the rules for the identifier?

0 Answers  


Categories