fork(5) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. char* c{ (char*)-1 };
  7. if (c = 0, delete c++, c--)
  8. {
  9. long a[] = { 0b1100, 0x1, 0b10, 0b110, 0x10 }, b = (long)c;
  10. char(*p)(char) = [](char x) { return printf("%c", 0x43 + x), x; };
  11. for (int i = (c++, p(b)); ++c, i < 5 || p(b); p(b | a[i]), ++i, c++);
  12. }
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
CODEISC