You have a simple struct, say:
typedef struct rect { int x; int y; int width; int height; } rect;
And you want to multiply
if all your elements are of the same type:
for (int i = 0; i < sizeof(rect) / sizeof(rect.x) ; ++i) { do_something(reinterpret_cast(adress_of_your_struct) + i); }
with do_something expecting a pointer to int
do_something
int