What is implicit conversion/coercion in c++?



What is implicit conversion/coercion in c++?..

Answer / 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

More C++ General Interview Questions

How is data hiding achieved in c++?

0 Answers  


What is an Object/Instance?

1 Answers  


Can we use pointers in c++?

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.

0 Answers   An-Najah National University,






What is the use of data hiding?

0 Answers  


What is pointer to member?

0 Answers  


What is the latest c++ standard?

0 Answers  


What is pure virtual function? Or what is abstract class?

0 Answers  


Define Virtual function in C++.

0 Answers   iNautix,


What is difference between array and vector in c++?

0 Answers  


How can you force instantiation of a template?

1 Answers   ABC, Amazon,


Categories