Question
What will be the output of the code int
main(){ int x= 10; int y=10; int s=-(-x-y) cout< return 0; }Solution
The correct answer is A
A bag contains 13 white and some black balls. If the probability of drawing a black ball from the bag is twice that of drawing a white ball, find the nu...
- A bag contains 6 yellow balls, 8 purple balls, and 4 black balls. Two balls are drawn at random. Find the probability that the two balls are purple.
A box contains only three colors of balls- red, green and blue. What is the minimum number of balls that should be picked from the box to ensure that at...
In a bag contains 4 one rupees coins and 3 five rupees coin. If two coins are drawn at random, find the probability of getting a one rupee coin and a fi...
In a box there are 3 red, 6 blue, and 9 yellow cards. One card is picked up randomly. What is the probability that it is neither red nor yellow?
A bag contains 5 black balls,βaβ white balls and βbβ purple balls. If one ball taken out from the bag, then probability of being it white is 2/7...
A bag contains black and white balls, such that the probability of picking a black ball is 4/7. If the probability of picking two black balls without re...
- In how many ways can the letters of the word "CHOCOLATE" be arranged, and what is the probability that all the vowels in these arrangements always appear t...
A game consists of tossing three coins once and then rolling two dice. Find the probability of getting at least two heads in the coin toss and a sum equ...
A person can hit a target 3 times out of 8 shots. If he fires 10 shots, what is the probability that he will hit the target twice