Using Pointer to structure to access a pointer element within a structure
Using Pointer to structure to access a pointer element within a structure
I am trying to use a double pointer to a structure to access an element of a structure which is a pointer to an array. However I end up getting Segmentation fault.
typedef struct _cacheLine { uint32_t tag; uint32_t *data; // data points to data stored in // cache line. cache line size is // multiple of 32bits. uint32_t LRUStackBits; // These bits keep track of usage position // of cache line in…
View On WordPress














