fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char a = 'a';
  6. cout << sizeof(char) << "\n";
  7. cout << sizeof(a) << "\n";
  8. cout << sizeof('a') << "\n";
  9. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
1
1
1