Toggle navigation
Home
KPSC Previous Question Papers
Article Category
kerala psc
upsc
General
Popular Pages
Multiple Choice Question in aptitude-area
Multiple Choice Question in non-verbal-reasoning-grouping-of-images
Multiple Choice Question in aptitude-compound-interest
Multiple Choice Question in engineering-mechanics-kinetics-of-a-particle-impulse-and-momentum
Multiple Choice Question in electronic-devices-bipolar-junction-transistors
Multiple Choice Question in 035/2016
Multiple Choice Question in database-database-redesign
Question Answer in malayalam-kerala-psc-questions
Multiple Choice Question in malayalam-kerala-psc-questions
Multiple Choice Question in current-affairs-2017-03-05
Question Answer in KERALA PSC
Multiple Choice Question in KERALA PSC
Question Answer Bank
Multiple Choice Question Bank
Question Answer Category
Multiple Choice Question Category
Home
->
Multiple Choice Questions
Question Set
computer science object oriented programming using cpp
1. Which of the following formulas can be used to generate random integers between 1 and 10?
(A): 1 + (10 - 1 + 1) % rand()
(B): 1 + rand() % (10 - 1 + 1)
(C): 10 + rand() % (10 + 1)
(D): 10 + rand() % (10 - 1 + 1)
Previous Question
Show Answer
Next Question
Add Tags
Report Error
Show Marks
Ask Your Doubts Here
Type in
(Press Ctrl+g to toggle between English and the chosen language)
Post reply
Comments
Show Similar Question And Answers
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
QA->A and B can do a work in 10 days, B and C can do it in 12 days, C and A can do it in 15 days. If A, B, and C work together, they will complete the work in:....
QA->A and B can do a work in 10 days. B and C can do it in 12 days. C and A can do it in 15 days. If A, B, and C work together, then the work will complete....
QA->Which of the following integers has the most number of divisors?....
QA->Which of the following integers has the most number of divisors?....
MCQ->Which of the following formulas can be used to generate random integers between 1 and 10?....
MCQ->The difference of the squares of two consecutive even integers is divisible by which of the following integers ?....
MCQ->The difference of the squares of two consecutive odd integers is divisible by which of the following integers ?....
MCQ->Pick out thể one word for - a secret arrangement....
MCQ->Bitwise can be used to generate a random number.....
×
×
Type The Issue
×
Your Marks
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...
Privacy
|
Terms And Conditions
Question ANSWER With Solution