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

When does a 'this' pointer get created?

613


Which is best ide for c++?

561


Explain the concept of memory leak?

618


What is problem with overriding functions?

601


What you know about structures in C++?

587






How do I write a c++ program?

590


What is a pdb file?

533


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

631


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?

576


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

517


What are function prototypes?

640


Implement stack operations with pointers with appropriate exception checks.

561


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

555


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3354


Is oops and c++ same?

572