a) Returns true if the number of 1’s equal to the number of 0’s
b) Returns true if any bit is set 0
c) Returns true if any bit is set 1
d) Returns true only if all bits are 1
Meghna MittalBegginer
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
c
Explanation: header provides the any() function which returns true if any of the bit is set to 1 in the bitset variable.