I\'m trying to write a function that returns a struct which i canuse later and t
ID: 3614986 • Letter: I
Question
I'm trying to write a function that returns a struct which i canuse later and this is how i did it and there seems to be somethingwrong could you helptypedef struct{ double x, y, z; }elctron
electron e_gaussian(int n_electron){ electron e_grid[n_electron]; ............... return e_grid; }
void draw_electrons(){ electron e_grid = e_gaussian(n_electrons); ......................; }
typedef struct{ double x, y, z; }elctron
electron e_gaussian(int n_electron){ electron e_grid[n_electron]; ............... return e_grid; }
void draw_electrons(){ electron e_grid = e_gaussian(n_electrons); ......................; }