a) Returns true if any bits is set 1
b) Returns true if all bits is set 0
c) Returns true if the number of 1’s equal to the number of 0’s
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.
d
Explanation: header provides the set() function to set bit(s) to 1 in a bitset variable.