Program of C# using stactalloc keyword.
class psp
{
public static void Main()
{
unsafe
{
int *p;
int e;
p=&e;
*p=50;
System.Console.WriteLine(e);
int *j=stackalloc int[5];
//j=new int[5];
//j=stackalloc int[4];
}
}
}
------------------------------------------------------
No comments:
Post a Comment