Answer Posted / prasad shetty
773,2753
The logic looks like this
The number at position x will be
(number at x-1) * 3 + (number at x-2) *2
| Is This Answer Correct ? | 16 Yes | 6 No |
Post New Answer View All Answers
What is static memory allocation?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
When should structures be passed by values or by references?
Can you think of a logic behind the game minesweeper.
How can I open files mentioned on the command line, and parse option flags?
What is variable in c example?
What are header files? What are their uses?
Explain how do you print an address?
What is return type in c?
What are the preprocessor categories?
Between macros and functions,which is better to use and why?
What is typedef example?
All technical questions
Why double pointer is used in c?
How can I sort more data than will fit in memory?