πŸ“Š C Programming
Q. Which data type is usually used to represent boolean values in C?
  • (A) bool
  • (B) boolean
  • (C) int
  • (D) bit
πŸ’¬ Discuss
βœ… Correct Answer: (C) int

Explanation: C uses int for boolean logic, where 0 is false and non-zero is true.

Explanation by: Mr. Dubey
C uses int for boolean logic, where 0 is false and non-zero is true.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate