C# Programming - Datatypes - Discussion

Discussion :: Datatypes - General Questions (Q.No.17)

17. 

Which of the following is the correct default value of a Boolean type?

[A].
[B]. 1
[C]. True
[D]. False
[E]. -1

Answer: Option D

Explanation:

No answer description available for this question.

Sunny said: (Apr 8, 2012)  
Boolean types return only true and false but default value of boolean type will be false.

Daniel Castro said: (Feb 22, 2014)  
The default value is False, in memory it really is a zero and this is because keep a zero in memory requires less electricity (volts) than keep a one.

Bhushan said: (Jul 21, 2014)  
Boolean types return only 0's and 1's but default value of boolean type will be false.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.