Challenge: Generate the Nth Fibonacci Word

Apply what you’ve learned about string functions in the coding exercises in this lesson.

Problem statement

In this challenge, you have to implement the fibWords function.

int fibWords(char *strl, int n);

Get hands-on with 1200+ tech skills courses.