How many bits of memory does the bool datatype occupy?

Answer: D
Explanation: The bool datatype can only take 2 values; TRUE or FALSE. This takes a space of 8 bits or 1 byte. It’s mostly used in digital read or write operations to denote a 0V or 5V signal output or input. It can also be used for decision making.
 

Tìm kiếm

Back
Top