The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
3answers
115 views

How much can you detect undefined behaviour using testing [closed]

I hope this question fits this site. You may know you can't detect undefined behaviour in C using compilers - and some tools (static analysis) can help you detect it. My question is more empirical - I ...
9
votes
4answers
1k views

Undefined behaviour in Java

I was reading this question on SO which discusses some common undefined behavior in C++, and I wondered: does Java also have undefined behaviour? If that is the case, then what are some common causes ...
4
votes
2answers
262 views

Undefined behaviours in C

Recently I came across a number of undefined features in C, one of them being the following: http://stackoverflow.com/questions/8698048/behaviour-of-non-const-int-pointer-on-a-const-int Could ...
49
votes
13answers
3k views

Philosophy behind Undefined Behavior

C\C++ specifications leave out a large number of behaviors open for compilers to implement in their own way. There are a number of questions that always keep getting asked here about the same and we ...
14
votes
10answers
3k views

What makes C developers so curious if “i++ == ++i”? [closed]

Just a random observation, it seems that on StackOverflow.com, there are questions about if "++i == i++". That question gets asked all the time though, I think I saw it asked about 6 or 7 times in the ...