View more random threads:
- Define calling function in c++ 2011
- friend function in c++
- What is a Dangling pointer? Briefly explane with example.
- C++ access private data members in another class
- Please define function calling in C++?
- What is the difference b/w Inorder Traversal and Inorder...
- But "cin" lines are not producing the results 2011
- AVL tree, It must satisfie the 2 conditions.
- Tell me we use in over programm print f & scan f instead of...
- what is difference between a constructor and over loaded...
The program display 010, because:
Sponsored Links
cout<<isEqual( 5, 6 );
5 and 6 are not equal, therefore it display 0
cout<<isEqual( 7.5, 7.5 );
7.5 and 7.5 are equal, therefore it display 1
cout<<isEqual( "abc", "aba" );
"abc" and "aba" are not equal, therefore it display 0.
It display 010, because the return type of "isEqual" is “bool”, that returns either true(1) or false(0).
There are currently 1 users browsing this thread. (0 members and 1 guests)