Discuss automatic conversion and casting with example?Automatic conversion and casting are two ways to convert values from one type to another in C++.Automatic conversion: Automatic conversion, also known as implicit type conversion, occurs automatically when a value of one type is used in an expression that requires a different type. For example, when a 'float' is used in an expression that requires an 'int', the 'float' will automatically converted to an...
Showing posts with label differentiate between POP and OOP. Show all posts
Showing posts with label differentiate between POP and OOP. Show all posts