fork(4) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6.  
  7. cout << "hello 😀".size();
  8.  
  9. return 0;
  10. }
Compilation error #stdin compilation error #stdout 0.01s 5600KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:7:23: error: request for member ‘size’ in ‘"hello \37777777760\37777777637\37777777630\37777777600"’, which is of non-class type ‘const char [11]’
  cout << "hello 😀".size();
                       ^~~~
stdout
Standard output is empty