Question
In C++, which access specifier makes members accessible
only from within the class itself and from friend functions/classes?Solution
Answer: B) private
How is P related to N?
How is the mother of Y is related to the father of A?
How J is related to son in law of L?
Prashant Arora has three children - Sangeeta, Vimal and Ashish. Ashish married Monika, the eldest daughter of Mr. and Mrs. Roy. The Roys married their y...
If ‘A % B’ means ‘A is the daughter of B’, ‘A & B’ means ‘A is the wife of B’, and ‘A # B’ means ‘A is the son of B’, then how i...
Who is husband of mother of Z?
If A is married to W, then how is W related to B?
Answer the questions based on the information given below.
‘L@M’ means ‘L is the father of M’.
‘L&M’ means ‘L is the siste...
How is Z related to W?
Read the directions carefully and answer the following question.
L is the brother of Z. Z is mother of Q. B is sister of Q, who is the son of F...