Hi all,
I am passing data into a function in C to be edited but that function already returns some data. I was wondering how i could pass data in to a function so that when it is edited it is chnaged universally?? Ive tried using pass by reference:
int myFunction(&dat a)
butthe compiler chucks a wobbly with it. I thought maybe pointers but I need to be explained how to do it.
I am passing data into a function in C to be edited but that function already returns some data. I was wondering how i could pass data in to a function so that when it is edited it is chnaged universally?? Ive tried using pass by reference:
int myFunction(&dat a)
butthe compiler chucks a wobbly with it. I thought maybe pointers but I need to be explained how to do it.
Comment