# Things that cause error in C/C++
###### tags: `C` `C++`
# Overflow
example:
```c++=
if(vector1.size() - vector2.size() > 2)
{
///
}
```
when vector1.size() = 1, vector2.size() = 2, this will cause overflow and make the answer INT_MAX which is greater that 2