I'm not yet an expert but I'm just wondering what is an extra cost of creating and using object during RUNTIME?

for example what is the difference between

int i;

and

class Foo {
int i;
};

Let just assume that Foo is NOT created using new here.