overflow and underflow | type casting errors in C | two's complement

preview_player
Показать описание
Understanding overflow and underflow in two's complement are key to debug incorrect computational errors. Similarly type casting errors in C/C++ languages could also lead to confusion and frustration. Overflow and underflow are keywords that describe situations when variables or values cannot be represented or processed correctly because they are either too large or too small. In this video you will understand the concept of overflow, underflow and type casting errors that you would encounter while programming in c.

These surprises are due to some limitations of the two's complement that are very important to understand. As a programmer you need to understand the limitations of your machine, which is the key to not only encounter and be prepared for these errors but also to understand the phenomenon due to which they occur. Examples along with animations have made the concept really very easy to understand.
Рекомендации по теме
Комментарии
Автор

JazaqAllah Sir that is very helpful for exam

fakharhayat
Автор

Sir kindly explain modular operation working

marriyam_here
Автор

What extra step do we take when we form the 2's complement of a negative binary number?

mrburhan
Автор

sir can an unsigned operation overflow?

saifulhaq
Автор

Sir range of unsigned twos complement can be upto 31 or not?

qaiserrauf
Автор

when we disassemble the code into assembly language, Is it mandatory to define the #abs function that implements the math equation?

zafar_hayat
Автор

Sir g 'Wraps'kyword ha? Kis liay use kartty han

fakharhayat
join shbcf.ru