how can I call and print the Pointer : ptr->address
Code:#include<stdio.h> struct account { int address; int value; }; typedef struct account act; void get_value(int *a){ *a += 10; }; void get_address(int *s){ *s+=100; } main() { act *ptr; act act1; act1.value = 20 ; ptr->address = 20; get_address(&ptr->address); get_value(&act1.value); printf(" %i\n " ,act1.value); printf(" %i " ,ptr->address); }