/* Implicit conversion test date, 2013-3-10http: // runtime <iostream> Using STD: cout; Using STD: Endl; # Define fun (X) void fun (x) {cout <# x <Endl;} fun (bool) Fun (char) Fun (short) Fun (INT) Fun (unsigned INT) fun (long) Fun (unsigned long) Fun (float) Fun (double) # define FunX (x) cout <# x <":"; fun (X ); int main () {bool B = true; char C = 0; short S = 0; int I = 0; unsigned int UI = 0; long l = 0; unsigned long ul = 0; float F = 0.0; double D = 0.0; FunX (B); FunX (c); FunX (s); FunX (I ); funX (UI); FunX (l); FunX (UL); FunX (f); FunX (d); cout <Endl; // char-> intfunx (B + C); // short-> intfunx (C + S); // int-> unsigned intfunx (I + UI ); // int-> longfunx (I + l); // unsigned int-> unsigned longfunx (ui + l); // long-> unsigned longfunx (L + UL ); // long-> floatfunx (L + F); // unsigned long-> floatfunx (UL + F); // float-> doublefunx (F + D ); return 0;}/* B: boolc: chars: shorti: intui: Unsigned INTl: longul: Unsigned lohn: floatd: doubleb + C: intc + S: Inti + UI: unsigned Inti + L: longui + L: Unsigned longl + ul: Unsigned longl + F: floatul + F: floatf + D: Double */