Hello everyone I want to initialize a global variable in c in my Main Function.
I think I need to create a new instance of the structs for doing this right?Code:#include <stdio.h> #include <stdlib.h> // Global Variables struct Values* values__; struct FluxCapacitor** capacitors; struct Values { double speed_in_kmh; double current_power_level_in_mega_watts; }; struct IndexContainer { unsigned int* cap_indicies; unsigned int array_length; }; int main() { }