Ali executes a C++ program that he just develops recently. Ali founds that the output printed on the screen is wrong and not as expected. Which of the following is CORRECT according to the above situation? code example
Example: I need to write an int function in which there are only cout statements and if I return 0/1 it prints them too.
/*
* First C++ program that says hello (hello.cpp)
*/
#include <iostream> // Needed to perform IO operations
using namespace std;
int main() { // Program entry point
cout << "hello, world" << endl; // Say Hello
return 0; // Terminate main()
} // End of main function