C Programming - Bitwise Operators - Discussion
Discussion Forum : Bitwise Operators - Yes / No Questions (Q.No. 3)
3.
Bitwise can be used to generate a random number.
Discussion:
7 comments Page 1 of 1.
Manobala said:
4 years ago
Please explain it.
Amit v said:
7 years ago
Please explain the details properly.
Rathi said:
1 decade ago
Random no does not have any sequence no generated by bit operator have some sequence.
Ranganath M said:
1 decade ago
Because if we use bitwise operators, then o/p cann't be unpredictable. So we won't get any random numbers.
Ranjit said:
1 decade ago
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(^).
Shyamala said:
1 decade ago
Please give explanation?
Priya said:
1 decade ago
Please explain it.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers