cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Difference in typecasting in C and C++
Difference in typecasting in C and C++
Nov 26, 2008 at 12:41pm
Nov 26, 2008 at 12:41pm UTC
chiku
(2)
What is the basic difference in
typecasting
in C and C++?
Nov 26, 2008 at 12:47pm
Nov 26, 2008 at 12:47pm UTC
Bazzy
(6281)
C-style casting looks like this:
(newtype) value
this works perfectly on C++ which has also many other ways to convert values between different types
http://www.cplusplus.com/doc/tutorial/typecasting.html
Topic archived. No new replies allowed.