reinterpret_cast In C++

JOIN ME ————— YouTube 🎬    / @cppnuts   Patreon 🚀   / cppnuts   COMPLETE PLAYLIST ———————————— C++ Tutorial For Beginners:    • Introduction To C++   STL (Standard Template Library):    • STL In C++   ThreadIng In C++:    • Multithreading In C++   Data Structures:    • Data Structure   Algorithms:    • Binary Search   Design Patterns:    • Factory Design Pattern in C++   Smart Pointers:    • Smart Pointer In C++   C++14:    • Digit Separator In C++   C++17:    • std string_view in C++17 | Fastest String ...   C++ All Type Casts:    • static_cast In C++   INTERVIEW PLAYLIST ———————————— C++ Interview Q&A:    • Structural Padding & Packing In C & C++   C++ Interview Q&A For Experienced:    • How delete[] Knows How Much  To Deallocate...   Linked List Interview Questions:    • Find Kth Node From Back In Singly Linked List   BST Interview Questions:    • Search Element In Binary Search Tree (BST)   Array Interview Questions:    • Reverse An Array   String Interview Questions:    • Check String Is Palindrome Or Not   Bit Manipulation Questions:    • Find Set Bit In Integer Number   Binary Tree Interview Question:    • Invert Binary Tree   Sorting Algorithms:    • Bubble Sort   C++ MCQ:    • Video   C MCQ:    • What printf returns after printing? | C Pr...   C Interview Questions:    • Designated Initialization In C   QUICK SHORT VIDEOS ————————————- C++ Short :    • C++ Short Videos   C Short :    • Shorts C Programming MCQ   In this video we will learn what is reinterpret_cast is used for and there are few points we should always remember about it as follows: 1. reinterpret_cast can perform dangerous conversions because it can typecast any pointer to any other pointer. 2. reinterpret_cast is used when you want to work with bits. 3. The result of a reinterpret_cast cannot safely be used for anything other than being cast back to its original type. 4. we should be very careful when using this cast. 5. if we use this type of cast then it becomes non-portable product. #reinterpret_cast #cpp #interviewquestions #programming #computerscience #softwareengineering #tutorial