By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 741 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

output

P: 29
i run this code in compiler,but i am have problem in the compiler.
how will the output look like?


int found = 0, count = 5;
if( ! found | | --count == 0)
std::cout<<"danger"<<std::endl;
std::cout<<"count = "<<count<<std::endl;
Jun 13 '07 #1
Share this Question
Share on Google+
2 Replies


P: 94
Output

danger
count = 5
Jun 13 '07 #2

weaknessforcats
Expert Mod 5K+
P: 9,197
What problem dop you have with your compiler?

BTW, haven't I see this in an earlier posting?
Jun 13 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.