fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. struct YOBA
  5. {
  6. int a;
  7. std::string b;
  8. };
  9.  
  10.  
  11. static const YOBA yoba{666, "OLOLO"};
  12.  
  13.  
  14.  
  15. int main() {
  16. // your code goes here
  17.  
  18. std::cout << yoba.a << yoba.b;
  19.  
  20. return 0;
  21. }
Success #stdin #stdout 0s 3460KB
stdin
Standard input is empty
stdout
666OLOLO