View more random threads:
- Abstract data type (ADT) in C++ 2012
- PROBLOM IN PROGRAMMING code 2011
- some features of PREPROCESSOR in c and C++
- when user enter 6 number guessing game of tossing coin
- i used Char data type to store a sentence but there is...
- what is difference between PATH and CIRCUIT in c++ 2011?
- A simple pthread program runtime error in c++ 2011
- What the difference between compiler and debuger?
- Create, edit, modify multiple text files using c++ 2011
- how to check include library in Dev C++
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
cout<<isEqual( "abc", "aba" );
"abc" and "aba" are not equal, therefore it display 0.
Sponsored Links
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)