Post AvTlykr3Y8H8cqyLhY by [email protected] | |
More posts by [email protected] | |
Post #AvTlykr3Y8H8cqyLhY by [email protected] | |
0 likes, 0 repeats | |
@olafurw Nothing can save you from bad coding. | |
Post #Avcrd3E8uQ8pNpRbsW by [email protected] | |
0 likes, 0 repeats | |
@Fiona oh no, makes me dislike it even more | |
Post #AvcrdEqTiELHPuSseu by [email protected] | |
0 likes, 0 repeats | |
@olafurw Tried it with C11, same for GCC, but NOT for clang.This is alllll wei… | |
Post #AvcrdExDJBjJkncG9o by [email protected] | |
0 likes, 0 repeats | |
@krono yeah because there is no guarantee about this | |
Post #AvcrdOaBVfFbcGv0eO by [email protected] | |
0 likes, 0 repeats | |
@olafurw That's it. | |
Post #AvcrdXGJEvhSXEglQ8 by [email protected] | |
0 likes, 0 repeats | |
@olafurw I am more confused as to why 43 is printed first | |
Post #AvcrdXNknFeeuKAi1Y by [email protected] | |
0 likes, 0 repeats | |
@_nibbles @olafurw In C++ (and C), argument evaluation order is unspecified and… | |
Post #AvcrdXTmQqTXD0zWPw by [email protected] | |
0 likes, 0 repeats | |
@lesley @olafurw That definitely sounds like a bug/ cool unwanted things waitin… | |
Post #AvcrdXZS5l0pUbe3G4 by [email protected] | |
0 likes, 0 repeats | |
@_nibbles @lesley oh the language is full of little oddities like that, this is… | |
Post #AvcrecAySIF645hwuG by [email protected] | |
0 likes, 0 repeats | |
@_nibbles arguments are evaluated backwards, so C++ is run first, but since it&… | |
Post #AvcrecH05t3yMmWlIe by [email protected] | |
0 likes, 0 repeats | |
@olafurw So if you where to have say 2 strings instead of c and c++ they would … | |
Post #AvcrecN1jTsqfTLZh2 by [email protected] | |
0 likes, 0 repeats | |
@_nibbles yup | |
Post #AvcrfASB0qCmNI1ARM by [email protected] | |
0 likes, 0 repeats | |
@olafurw c++ considered harmful. | |
Post #AvcrfAc6Pw92s4f5ua by [email protected] | |
0 likes, 0 repeats | |
@olemd that's postfix, so C considered harmful? | |
Post #AvcrfPJ9meu2Reufxo by [email protected] | |
0 likes, 0 repeats | |
@olafurw that too. |