i cant seem to find what is wrong with this piece of code:
looks good to me-but my hw says it has an error in the code.
struct TwoVals
{
int a = 5;
int b = 10;
};
int main()
{
TwoVals varray[1];
varray.a[0] =1;
return0;
}