title: How many objects on stack?
body: <pre><code>class Object {
         int val;
  };
  
  int main() {
         Object Obj;
         Obj = Object();
         return 0;
  }
  </code></pre>
  
  <p>How many objects will be there on the stackframe of main after line no 2 in main function i.e after "obj = Object()" assuming there is no optimization used during compilation? </p>