effinit
Topic Starter
#include
using namespace std;
int main()
{
int i = k + 1;
cout << i++ << << endl;
int i = 1;
cout << i++ << << endl;
return 0;
}
1 min read
/*
* File: test.cpp
*/
#include
using namespace std;
int main() {
int i = 0; // declaration and initialization
i = i + 1;
cout << "sum of i:" << i << endl;
int x = 1; // declaration and initialization, another variable
cout << "value of x:" << x << endl;
return 0;
}This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.