title: C++ error - expected primary expression before 'char' and 'int'
body: <pre><code>#include&lt;iostream&gt;
  #include&lt;cstring&gt;
  using namespace std;
  class Employee
  {
      char name[5];
      int id;
      int age;
      public:
      Employee(char* a, int b, int c)
      {
          strcpy(name, a);
          id=b;
          age=c;
      }
  };
  class Officer: public Employee
  {
      char officer_cadre[3];
      public:
      Officer(char* a, int b, int c, char* d):Employee(char* a, int b, int c)
      {
          strcpy(officer_cadre, d);
      }
  };
  int main()
  {
     Officer o1("Nakul", 1, 2, "ABC");
     return 0;
  }
  </code></pre>
  
  <p>The above code is simple, but I'm not able to figure out why the compiler is throwing errors like 'expected primary expression before char' and 'expected primary expression before int'.</p>