fork(1) download
  1.  
  2. #include <iostream>
  3. #include <string>
  4.  
  5.  
  6.  
  7. int main()
  8. {
  9. std::string a = "123123\0123\0";
  10. std::cout << a.length();
  11. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
8