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

Explain the problem with overriding functions

682


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1862


Where and why do I have to put the "template" and "typename" keywords?

676


What is difference between rand () and srand ()?

704


What is static function? Explain with an example

675






Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2099


How should runtime errors be handled in c++?

715


Explain the isa and hasa class relationships.

680


How do you clear a set in c++?

713


How does code-bloating occur in c++?

836


What are the main features of c++?

639


What is the type of 'this' pointer? When does it get created?

628


What are the manipulators in c++?

629


What is a container class? What are the types of container classes in c++?

760


Declare a class vehicle and make it an abstract data type.

625