Message from C, C++ discussions

January 2020

— Its true


You need to use an array of chars, not a single char to use scanf
like here at the bottom

— To read a string

— Yes.....thanks...guys...i got it....

— But we can do that also but this will print ASCII value of that character

— Also
Access Granted
Access Denied

— Also your check for string equality is incorrect, it will compare pointers, not strings
you need to use strcmp

Message permanent page

— And if you still want to use one character for b (you can do that), you need to compare with character 'y' and 'Y' in single quotes (and read as %c as mentioned before)

Message permanent page

— Yes i got that message as warning

— #reference-the-standard

— Https://

— Guys can you explain which compiler is best....