Output Line | Explanation |
---|---|

10 | Decimal representation of the numeric value of decimal integer constant 10 |

8 | Decimal representation of the numeric value of octal integer constant 010 |

16 | Decimal representation of the numeric value of hexadecimal integer constant 0x10 |

Output Line | Explanation |
---|---|

10.00 | The string "10" interpreted as a decimal value, with 2 digits of precision. |

10.00 | The string "010" interpreted as a decimal (not octal) value, with 2 digits of precision. |

16.00 | The string "0x10" interpreted as a hexadecimal value, with 2 digits of precision. |

1010.00 | The string "10.1e2" interpreted as a decimal floating-point value, with 2 digits of precision. |

1010.00 | The string "010.1e2" interpreted as a decimal (not octal) floating-point value, with 2 digits of precision. |

64.25 | The string "0x10.1p2" interpreted as a hexadecimal floating-point value, with 2 digits of precision. |

Output Line | Explanation |
---|---|

3 | Decimal representation of the numeric value 3 |

3 | Decimal representation of the numeric value +3 |

-3 | Decimal representation of the numeric value -3 |

51 | Decimal representation of the numeric value of the character '3' in the ISO/IEC 646: 1991 standard codeset |

43 | Decimal representation of the numeric value of the character '+' in the ISO/IEC 646: 1991 standard codeset |

45 | Decimal representation of the numeric value of the character '-' in the ISO/IEC 646: 1991 standard codeset |