1
What is the output of the following program?
int? n = null;
n ??= 25;
Console.WriteLine(n);DiscussMedium
Loading subject content…
Loading practice questions…
What is the output of the following program?
int? n = null;
n ??= 25;
Console.WriteLine(n);What is the output of the following program?
int a = 10;
a += 5;
a *= 2;
Console.WriteLine(a);What is the output of the following program?
string s = null;
string t = s ?? "default";
Console.WriteLine(t);