I have a function that expects a int * as a parameter. I have an int inside a structure.
How do I pass the address of the structure element? I tried &(test_struct.myStructInt).Code:typedef struct myStruct { int myStructInt; } myStruct; myStruct test_struct; void test_fun(int * myInt) { // yadda yadda } int main() { test_fun(??????????); }