fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct Triangle
  5. {
  6. uint16_t x[3];
  7. };
  8.  
  9. int main() {
  10. cout << sizeof(Triangle) << ',' << (sizeof(uint16_t)*3) << '\n';
  11. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
6,6