string output problem

here is code https://ideone.com/HNqQhL . I want to know why “NO” is not coming in the output.

The statement should be cout<<“NO”; instead of cout<“NO”;

Its a bug of Ideone I guess, that’s why no error is reported, the code gives error in DevCpp.

1 Like

thanks a lot.