• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

what is the sizeof bool?

1bit or 1byte

c++sizeof
11th Aug 2016, 3:27 AM
Manish Kumar
Manish Kumar - avatar
2 Answers
+ 4
1byte
11th Aug 2016, 4:58 AM
liudng
+ 2
here 1byte=8 bits there 1bit means single bit
13th Aug 2016, 3:55 PM
Srikanth Dhulipala
Srikanth Dhulipala - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Certificate issues
1 Votes
Report user
4 Votes
Error when I solved a problem in SQL intermediate level JOIN not give the same result
1 Votes
How to create a game
0 Votes
where do i go after learning C++?
1 Votes
Imp question
1 Votes
Pls can someone teach me how to add images to my page
0 Votes
Code Trainer. Test Validation Issue.
1 Votes
Where to report bugs? Is there any Customer Support possible to reach out from app? I am getting Spanish answers instead of ENG.
0 Votes
Help me! đŸ€ 
0 Votes