Dynamic Arrays in C
If you’re from a dynamic programming language such as JavaScript or Ruby, working with Arrays in C might seem a little weird.
Introduction
Arrays in JavaScript:
let numbers = [];
numbers.push(1);
numbers.push(2);
numbers.push(3);
console.log(numbers); // [1, 2, 3]
↧