Question
Which of the following is a valid C++
constructor?Solution
Constructors have the same name as the class, no return type, and can initialize objects.
Find the LCM of x2Â - 3x + 2 and x2Â - 5x + 6
(1.44)Â -1.5Â = ?
What approximate value will come in place of the question mark (?) in the following question? (Note: You are not expected to calculate the exact value.)...
Anuj's salary is twice the salary of Manoj. Ramnathan's salary is half the salary of Vikram. Manoj's salary is ₹15,000 less than the salary of Ramnath...
Difference between a number and its square root is 42. Find the number.
A bag contains 5 pink balls, 10 grey balls, and 3 brown balls. Two balls are drawn at random. Find the probability that the two balls are grey.
If x + 1/x = 2 then find x32 + 1/(x32)
In a village with a population of 8,500 people, 80% of them are adults. Among these adults, only 75% possess a ration card. Furthermore, 60% of the rati...
Four years ago from now age of 'A' was 16 years. 'B' is 8 years younger than 'A'. After how many years from now, ratio of age of 'A' and 'B' will be 7:5...
If '+' means '-' , '-' means 'x' , 'x' means '÷' , '÷' means '+' , then what will be the value of ' 500 x 50 - 20 ÷ 50 + 40 ' = ?Â
...