fork(1) download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. int main() {
  5. std::vector<bool> v = { true, true, true };
  6. std::cout << (*(v.end() - 1)) << std::endl;
  7. }
  8.  
Success #stdin #stdout 0s 3428KB
stdin
Standard input is empty
stdout
1