I have this case:
int a=5;
int b=6;
int *p_a=&a;
int *p_b=&b
std::cout << *p_a / *p_b;
which seems fine. However, if I delete the space between the division symbol / and *p_a like this:
std::cout << *p_a /*p_b;
The compiler understands /* as comment.
Is this behavior a standard one? I do not even have */ as a closing symbol of the comment.
Note: I am on MSVS 2013.
Edit:
It seems to be a standard behaviour since SO code formating has considered it as a comment also :D
 
    