View more random threads:
- when we push F1 key to step into a subroutine?
- Function also provides encapsulation, what it means with an...
- can we use Microsoft Visual Studio Ultimate 2010 for...
- differetiate between shallow copy and copy constructor in...
- need some guidece for those students those are new in...
- Dangling Pointers Explain in C++
- the uses of queues and stacks? the application of binery...
- what is bool why we use it with the function what is it...
- why we use pointers or reference except using real name of...
- why we use queues data structure for level order traverse?
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)