Explicit in C++

Explicit is a keyword in C++ which was introduced with C++ 11 this is used to cast a data type and also to change the by default implicit conversion in C++ , but what is implicit conversion then, so let's first learn about implicit conversion then we will see how explicit keyword is used to stop implicit conversion.

Explicit is a new keyword introduced in C++20 in 2020.

What is implicit conversion ?

Implicit conversion in c++

implicit conversion is the automatic conversion done by the compiler ...

 •  0 comments  •  flag
Share on Twitter
Published on February 15, 2021 00:35
No comments have been added yet.