{"version":"1.0","type":"rich","title":"Fibonacci using Dynamic Array","description":"This example shows a command-line program that computes and prints a Fibonacci sequence stored in a dynamically allocated array. It prompts the user for the number of periods, then uses `malloc` from the C standard library to allocate memory for the values. The program calculates each Fibonacci number iteratively, printing them with `printf` in a formatted layout, breaking to a new line every three entries. It concludes by displaying the final computed value. The visualization relies solely on text output, with no graphics or external libraries beyond the standard C I/O and memory management functions.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-d03bbaa6f3999f4c4cc0978f81f53937?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}