I am getting error when i am initializing the structure in below form
static struct A* a = &apple->queue[queue_number];
static struct B* b = &banana->queue_a[queue_number];
I am getting error
Error: #28: expression must have a constant value
I want to keep pointer a and b as static so that it's scope remain in same file. Please help here