What is the difference between an CHAR and a BOOL?
Answers
Answered by
1
Answer:
Char can store 8 bits or 1 Byte of memory. You can use it to store any character(using ASCII each character is represented using 8 bits).
Bool can only have two values 0 or 1. It can be either True(1) or False(0).
Answered by
11
Answer:
Char store 8 bits but bool value is either 1 or 0.
Similar questions
English,
5 months ago
Business Studies,
5 months ago
Chemistry,
10 months ago
English,
10 months ago