fork download
  1. #include <iostream>
  2.  
  3. #define PRINT( expr ) std::cout << #expr << " : " << (expr) << std::endl
  4.  
  5. int main() {
  6. PRINT( sizeof( long double ) );
  7. PRINT( alignof( long double ) );
  8. }
  9.  
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
sizeof( long double ) : 12
alignof( long double ) : 4