If dog is a friend of boy and boy is a friend of house, is dog a friend of house?



If dog is a friend of boy and boy is a friend of house, is dog a friend of house?..

Answer / Vikas Sharma

Yes, based on the transitive property of friendship, since Dog is a friend of Boy and Boy is a friend of House, it can be inferred that Dog is also a friend of House.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What do you mean by function pointer?

1 Answers  


What does h mean in maths?

1 Answers  


Is c++ used anymore?

1 Answers  


What is dynamic and static typing?

1 Answers  


What is the difference between inline functions and macros?

5 Answers  


How many different levels of pointers are there?

1 Answers   Genpact,


What are the unique features of C++.

1 Answers  


Explain the uses of static class data?

1 Answers  


What is the main purpose of overloading operators?

1 Answers  


What is an orthogonal base class in c++?

1 Answers  


Why main function is special in c++?

1 Answers  


What is this pointer in c++?

2 Answers  


Categories