I have a structure A such that A has fields v0 and v1. There is an array of A's:
A St[3];
I'd like to define B like that:
#define B[x] St[x].v0
I can't insert x as a parameter to define. Is there some way to do that in C? My purpose is to be able to replace each instance of St[x].v0 with B[x].