What is a difference between (int)x and int(x) in C++?

Anonym8103/28/2006 09:53 AM Report

Answers

Add a answer ▾

Discussion

Anonym10403/29/2006 09:49 AM Report
(int)x - C-style conversion (may do a combination of static_cast, reinterpret_cast and const_cast) int(x) - construction int from value x
Add a question comment ▾