cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
output of the following prigram
output of the following prigram
Apr 26, 2015 at 5:20pm UTC
vikramathitan
(24)
int main()
{
intx,y=10,z=10;
x=(y==z);
cout<<x;
return 0;
}
the ans is = 1. Can anyone explain to me this. ???
Apr 26, 2015 at 5:35pm UTC
giblit
(3750)
10 == 10 is true so it assigns 1 to x.
Topic archived. No new replies allowed.