What does a conversion function do in a C++ program?

      

What does a conversion function do in a C++ program?

  

Answers


Davis
A conversion function simply converts an object into a value compatible with another type.Conversion function are typically used to convert objects into values compatible with the built-in data types.
Githiari answered the question on February 12, 2018 at 12:59


Next: Given a function called counter(), show the statement that causes the compiler to compile this function for C language linkage.
Previous: Explain the purpose of explicit in a C++ program.

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions