1.

Determine The Output Of The Code Snippet.?

Answer»

INT a = 29;
a--;
a -= ++a;
Console.WriteLine("The value of a is: {0}", a);

/* The OUTPUT of the CODE is -1. */

int a = 29;
a--;
a -= ++a;
Console.WriteLine("The value of a is: {0}", a);

/* The output of the code is -1. */



Discussion

No Comment Found