Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. What is the output of this program:
  2.  
  3.     int main()
  4.     {
  5.         vector< int > values{ 1, 2, 3 };
  6.  
  7.         for (auto value : values) value = 0;
  8.         for (auto value : values) cout << value << endl;
  9.  
  10.         return 0;
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement