Hi all,
I have a structure for which array of objects are created
Now i want to return that array of objects to a function just like below:
struct mystruct s[5];
.
. code
.
return s;
in the function i captured using *s
void myfun(mystruct *s)
but i am unable to retrieve values using this s
c
If there is anything wrong in my syntax.. can anyone help me out to retrieve the structure values in the function
Thanks