title: Is int (built in data types) a class in c++?
body: <p>Is <code>int</code> a <code>class</code>?</p>
  
  <p>Please consider below code </p>
  
  <pre><code>#include"iostream"
  
  using namespace std;
  
  class test{
  public:
      int a;
  
      test(int x)
      {
          cout&lt;&lt;"In test Constructor"&lt;&lt;endl;
          a = x;
      }
  };
  
  int main()
  {
      test *obj = new test(10);// Constructor get called 
  int *x = new int(10);    // Expecting the same if "int" is a class
  return 0;
  }
  </code></pre>