← Deloitte questions

Print Fibonacci sequence in C

Filed under Deloitte

Write a function to generate the first n numbers of the Fibonacci sequence. The sequence starts with 0 and 1, and each subsequent number is the sum of the previous two. The result should be returned…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Deloitte questions

Collected from public candidate posts and coding forums. Updated Nov 2026.