I want to declare a global array of length p, which will be determined by the main function depending on the particular case. Is this possible? When I process it, the complier says:
variable-size type declared outside of any function
Any way round this?