title: Structures in C++ with arrays
body: <p>I do not solve the problem of displaying the following: <code>student[1].allgrade[1].quiz</code></p>
  
  <p>The portion of the code is given below.</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  struct grade 
  { int quiz, midterm,final;
  };
  
  struct StudentRecord
  {
         int studentID;
         double studentMark;
         char letter;
         struct grade allgrade[2];
  } student[]={
        {10,85.2,'A',{70,80,90}},{11,66,'C',{40,50,60}}       
  };
  
  int main(void)
  {
     cout&lt;&lt;student[1].allgrade[1].quiz&lt;&lt;"\n";
     return 0;
  }
  </code></pre>