C Programming - Bitwise Operators - Discussion

3. 

Bitwise can be used to generate a random number.

[A]. Yes
[B]. No

Answer: Option B

Explanation:

No answer description available for this question.

Priya said: (Mar 7, 2011)  
Please explain it.

Shyamala said: (Jun 7, 2011)  
Please give explanation?

Ranjit said: (Aug 23, 2011)  
I doubt the answer. A Linear Feedback Shift Register uses xor operation to generate pseudo-random sequence. Same process can be used with xor operator(^).

Ranganath M said: (Oct 28, 2011)  
Because if we use bitwise operators, then o/p cann't be unpredictable. So we won't get any random numbers.

Rathi said: (Aug 8, 2013)  
Random no does not have any sequence no generated by bit operator have some sequence.

Amit V said: (Feb 14, 2017)  
Please explain the details properly.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.