— scanf("%d", &g->N);Is this thing ok to do in C?
The points to operator is used to dereference and access something. You dont need the address of operator and would just be g->N
— Do you know the algorithm for random number generation or can you make one
— Yeah right, but that gives me warning
— What type is g
— G is struct
— But is it struct pointer
— Oh I'm dumb, is that resolving to the address of N?
— If so then that should be fine
— What the warning is?