Hi All,
 
Please help me in understanding what's the difference between the two 
statements below
 
[1] cout << "Number: " << static_cast<int>(3.14159) << "\n";

[2] cout << "Number: " << (int)3.14159 << "\n";
 
Basically I want to know the difference in using static_cast<int> and 
using (int)

Thanks,
Shveta

Reply via email to