What is implicit data type conversion in C++?
Type conversion is a process in which a variable of one data type is converted to another data type. For example, if we are adding two number one of int type and another of short int type then we need to typecast short int variable to int making them both int type so that we can add them.
Type conversion is done in two ways in C++ one is explicit type conversion and the second is implicit type conversion. In simple words, explicit type conversion is done by the user hence known as user-defined type conversion, and implicit type conversion is done by compiler itself hence known as automatic type conversion. In this article, we will learn more about implicit type conversion in C++