Advertisement
Felanpro

The three ways of declaring variables.

Aug 9th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.08 KB | None | 0 0
  1. //The three ways of initializing variables.
  2. int x = 3;
  3.  
  4. int y(3);
  5.  
  6. int z {3};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement