paint-brush
C++ Type Casting for C Developersby@IndianWestCoast
625 reads
625 reads

C++ Type Casting for C Developers

by Vishal Chovatiya8mApril 27th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Typecasting is the feature which makes C++ more type-safe & may convince you to use it over C. But this is also a more underrated topic when you are a newbie or moving from C background. Here, we will not only see the C++ type casting with example for C developers but we will also cover Why do we need typecasting? & type casting cheat codes for C. developers to remember & employ it easily. There are 5 different types of casts: C-style casts, static_cast, const_cast and reinterpret_cast. All types of manual casting fall under the explicit type conversions category.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - C++ Type Casting for C Developers
Vishal Chovatiya HackerNoon profile picture
Vishal Chovatiya

Vishal Chovatiya

@IndianWestCoast

Software Developer⌨, Fitness Freak🏋, Geek🤓, Hipster🕴, Blogger👨‍💻, Productivity Hacker⌚

Learn More
LEARN MORE ABOUT @INDIANWESTCOAST'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Vishal Chovatiya HackerNoon profile picture
Vishal Chovatiya@IndianWestCoast
Software Developer⌨, Fitness Freak🏋, Geek🤓, Hipster🕴, Blogger👨‍💻, Productivity Hacker⌚

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Campaign-archive
Twipu