What is the default value of a boolean variable in C# if not explicitly initialized?
A. 0
B. Null
C. FALSE
D. TRUE
Answer: Option C
A. 0
B. Null
C. FALSE
D. TRUE
Answer: Option C
What is the correct syntax to declare a variable in C#?
A. num = int;
B. var num;
C. num int;
D. int num;
What is the purpose of the 'var' keyword in C#?
A. Declares a constant
B. Converts a variable to string
C. Implicitly declares a variable
D. Defines a method
Join The Discussion