Change address of struct in C
<p>Let's say that I was given a struct and I need to assign all of it's attributes to a particular address. The code below is giving me a conditional error, but i'm not trying to evaluate it. </p>

<pre><code>struct header block_o_data;
block_o_data.a = 1;
block_o_data.b = 2;
void* startingAddress = sbrk(0);
&amp;block_o_data = *address;
</code></pre>

<p>Please let me know what im doing wrong.</p>