What is implicit conversion/coercion in c++?

Answer Posted / hrpynux@gmail.com

Implicit type conversion (also called automatic type conversion or coercion) is performed automatically by the compiler when one data type is required, but a different data type is supplied. The vast majority of type conversions in C++ are implicit type conversions.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between class and function?

591


What are pointer-to-members? Explain.

640


What's the most powerful programming language?

608


Is string an object in c++?

668


What is a map in c++?

591






Define Virtual function in C++.

636


Can member data be public?

608


what are the decision making statements in C++? Explain if statement with an example?

668


Can turbo c++ run c program?

646


What is a binary file? List the merits and demerits of the binary file usagein C++.

743


Explain the difference between abstract class and interface in c++?

542


Differences between private, protected and public and give examples.

588


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

591


What are maps in c++?

516


What is a null object in c++?

647