Professional Documents
Culture Documents
Assert Macro - CPP
Assert Macro - CPP
int main()
{
int x = 0, y = 5;
for( x =0; x < 10; x++)
{
cout << "x= " << x << " y= " << y << endl;
assert(x < y);
}
return 0;
}