I am trying to write a program in C. I need the address of the variable "recq". Can someone help me figure this out?
typedef struct { int recq; } dd; struct test { dd a; }; main(){ struct test *mm; mm=(struct test *) malloc (sizeof (struct test)); ss=&(mm->a.recq); printf("%p",ss); }
source share