Appending a value to the end of a dynamic array
问题 Well I have been studying a little C this winter break and in my adventures I stumbled upon an issue with a Dynamic Array. It's a fairly simple program really. What I am trying to do is to create an array that holds the numbers of the Fibonacci series. Here is the code: #include <stdio.h> #include <stdlib.h> int dynamic_arry_append(int* arry, int* number, int* size); int main() { int i, n, size = 3, *arry = NULL, fibarr[size]; printf("Dynamic array, Fibonacci series. \n"); printf("Capture