View more random threads:
- this pointer in c++
- Within our assignment code, can we replace <iostream.h>...
- if we have a program to check, how we can tell how many...
- How to write a summation in a sequence? C++ 2011-12
- how to insert a new node on AVL tree using double rotation?
- What is polymorphism in c++ 2011
- What is difference among Binary Tree, Complete Binary Tree...
- character variables and assignment contain characters...
- what is difference b/w "cin" and "cout". plz...
- which language programming languages built or made? i mean...
The program display 010, because:
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
Sponsored Links
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)