C ++ හෙල්ප්

liquid

Active member
  • Nov 11, 2010
    336
    133
    43
    '0' prefix ekak hatiyata dunnama compiler eka octal format eken read karanne. 010 = 8 in base 8 system.

    Similarly 0x mulata dunna nun hexadecimal hatiyata read karanne. cout<<(0x10) try krnna, the output should be 16
     
    Last edited:
    • Like
    Reactions: Geshi95