• 0
Begginer

## What happens when no argument is supplied to flip() function?

• 0

a) All alternate bits are flipped in a bitset b) All bits are flipped to 1 in a bitset c) All bits are flipped in a bitset d) First bit is flipped

• 0
Begginer

## What is the use of the flip function in bitset?

• 0

a) Used to flip bit(s) in a bitset b) Used to flip a bit in a bitset c) Used to flip all bits to 1 d) Used to flip alternate bits

• 0
Begginer

## What happens when only one argument is supplied to reset() function?

• 0

a) Bit corresponding to an argument is set to 0 b) All bits are set to 0 in a bitset c) All alternate bits are set to 0 in a bitset d) First bit is set to 0

• 0
Begginer

## What happens when no argument is supplied to set() function?

• 0

a) All alternate bits are set to 1 in a bitset b) All bits are set to 0 in a bitset c) All bits are set to 1 in a bitset d) First bit is set to 1

• 0
Begginer

## What is the use of the set() function in bitset?

• 0

a) Used to make alternate bits zero b) Used to make a bit 0 in a bitset c) Used to make all bits zero d) Used to set bit(s) in a bitset

• 0
Begginer

## Which of the following is correct about none() function in bitset?

• 0

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 ...

• 0
Begginer

## Which of the following is correct about any() function in bitset?

• 0

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 ...

• 0
Begginer

## What does size() function returns?

• 0

a) To count the number of 0’s b) To count the number of 1’s c) To count the number of total bits used by bitset variable d) To count the number of low bits

• 0
Begginer

## What is the use of count() function in bitset?

• 0

a) To count the number of 0’s b) To count the number of 1’s c) To count the number of total bits in a bitset d) To count the number of low bits

• 0
Begginer

## Indexing of bitset variables starts from ___________

• 0

a) leftmost bit b) rightmost bit c) same as in an array d) front