I'm trying to make a program that will calculate the resistances of some resistors. I want the program to ask the user how many resistors they have.
My problem is that when declaring arrays in C, they must have a fixed size. How would I make an array with a variable size eg. array[number].