[ create a new paste ] login | about

Link: http://codepad.org/7BBw4pMu    [ raw code | output | fork ]

C++, pasted on Dec 7:
#include <iostream>

  
using namespace std;

struct bytes_and_such
{ 
   char c;
   char C;
   short int s;
   int i;
   double d;
};


int main()
{

 
cout<< sizeof (bytes_and_such)<<endl;

      return 0;
}


Output:
1
16


Create a new paste based on this one


Comments: