pastebin

Paste Search Dynamic
Recent pastes
SizeOfA SizeOfB
  1. #include <iostream>
  2. using namespace std;
  3. class A{};
  4. class B:A{ int b;void g(int);};
  5. int main() {
  6.         // your code goes here
  7.         int SizeOfA=sizeof(A);
  8.         int SizeOfB=sizeof(B);
  9.         return 0;
  10. }
Parsed in 0.004 seconds