Advertisement
Kagalive

Static Casting Example

Sep 30th, 2020
954
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.05 KB | None | 0 0
  1. double d1 = 2.2;
  2. int i5 = static_cast<int>(d1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement