SyntaxFix
Write A Post
Hire A Developer
Questions
You array is being allocated on the stack in this case attempt to allocate an array of the same size using alloc.