View more random threads:
- need some guidece for those students those are new in...
- how stack operation proves costly during traversing a tree
- pasting my code down # include main () { char endp; char...
- what is the basic purpose of object oriented...
- The coding given in handsout and vu books are not working
- Static Variable in c++ 2011
- Boolean data problem in c++ 2011-12
- what is object code? let say we have any line of source code
- Dangling Pointers Explain in C++
- The use of Function templates in C++ and C, java, php 2011
The program display 010, because:
cout<<isEqual( 5, 6 );
5 and 6 are not equal, therefore it display 0
Sponsored Links
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)