Vidyalelo
C# Programming · Q20

Introduction to C Sharp

Programming · C# Programming · question 20

Q20

What is the default value of an int in C# if not explicitly initialized?

A.
-1
B.
0
Answer
C.
null
D.
1

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board