Eclipse Community Forums: C / C++ IDE (CDT) » system("PAUSE") function halt the cdt console output before pressing return key
![SOLVED: What is the output of the following C++ code? #include<iostream> using namespace std; int main() int a=1, b=2, c=3; c = a == b; system("pause"); return 0; SOLVED: What is the output of the following C++ code? #include<iostream> using namespace std; int main() int a=1, b=2, c=3; c = a == b; system("pause"); return 0;](https://cdn.numerade.com/ask_images/d8f834850ec24c22b28f75d641a29791.jpg)
SOLVED: What is the output of the following C++ code? #include<iostream> using namespace std; int main() int a=1, b=2, c=3; c = a == b; system("pause"); return 0;
![while loop - C++, when I put return 0 in a function and use the function main, the system still keep working - Stack Overflow while loop - C++, when I put return 0 in a function and use the function main, the system still keep working - Stack Overflow](https://i.stack.imgur.com/tXhti.png)