Unicode escape : Char « Data Type « Visual C++ .NET






Unicode escape

 
#include "stdafx.h"
using namespace System;


void main()
{
    char a = 'a';        
    Char b = L'b';       // Unicode 'b'

    char t = '\t';       
    Char s = L'\\';      



    Console::WriteLine ( a ); 
    Console::WriteLine ( b ); 
    Console::WriteLine ( t ); 
    Console::WriteLine ( s ); 
 
 
}

   
  








Related examples in the same category

1.Unicode hexadecimal escape
2.Octal escape
3.Character Literals in Action
4.Character Fundamental Type
5.Intialize using charater literal
6.Char Literal