output statement

is cout<<"x=";x;
is correct plz explain
using namespace std;
#include <iostream>

int main()
{
int x = 0;
cout << "x = " << x;
}
Topic archived. No new replies allowed.