M
Old said:The code snippet in the subject line divides the variable C by
the variable CLI, and increments the variable C.
Old Wolf said:Frog in your throat?
The code snippet in the subject line divides the variable C by
the variable CLI, and increments the variable C.
For example:
#include <iostream>
int main()
{
int C = 12;
int CLI = 3;
std::cout << (C++/CLI) << '\n';
std::cout << C << '\n';
}
This program outputs 4 followed by 13.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.