integer questions

a is an integer and if (a%2) cout << "abc"; does that mean that the program will only print out abc if a is an odd number?
yes..
Topic archived. No new replies allowed.