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 a macro in c preprocessor?

0 Answers  


What is extern keyword in c?

0 Answers  


How can this be legal c?

0 Answers  


How Many Header Files in c?

2 Answers   TCS,


player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 techniques. (but see next question) If he knows less than 10 techniques, then he must be a world champion. His name contains at least 3 words. For example "Sachin Tendulkar" will not meet this condition. Write a method: boolean isGoodPlayer(String name, String country, int yearsExperience, String[] majorTournamentsWon, String[] techniques, boolean isWorldChampion) name country yearsExperience majorTournamentsWon techniques isWorldChampion

1 Answers  






What is function what are the types of function?

0 Answers  


What is the difference between scanf and fscanf?

0 Answers  


How can variables be characterized?

0 Answers  


What are run-time errors?

0 Answers  


Describe newline escape sequence with a sample program?

0 Answers  


Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me

7 Answers  


Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147

2 Answers  


Categories