An Octal : Octal « Data Type « Visual C++ .NET






An Octal

 
#include "stdafx.h"
using namespace System;

void main()
{
    Console::WriteLine (  010 );  // An Octal 10 is a base-10 8
    Console::WriteLine ( -010 );  // Negative Octal 10 is a base-10 -8

}

   
  








Related examples in the same category