C# Programming - Datatypes - Discussion

Discussion Forum : Datatypes - General Questions (Q.No. 17)
17.
Which of the following is the correct default value of a Boolean type?
1
True
False
-1
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

BHUSHAN said:   1 decade ago
Boolean types return only 0's and 1's but default value of boolean type will be false.

Daniel Castro said:   1 decade ago
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.
(1)

Sunny said:   1 decade ago
Boolean types return only true and false but default value of boolean type will be false.

Post your comments here:

Your comments will be displayed after verification.