fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. const char* _5znakow = "KUPA"; // 'K', 'U', 'P', 'A', '\0';
  6. cout << "sizeof(_5znakow): " << sizeof(_5znakow) << endl;
  7. cout << "sizeof(\"KUPA\"): " << sizeof("KUPA") << endl;
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
sizeof(_5znakow): 4
sizeof("KUPA"): 5