Overflow and Underflow

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

A variable of type signed int stores a value of -2147483648. If the variable value is incremented, what exception will occur?

No exception

A variable of type signed short stores a value of 32767. If the variable value is decremented, what exception will occur?

No exception

A variable of type unsigned short stores a value of 0. If the variable value is incremented, what exception will occur?

No exception

A variable of type unsigned short stores a value of 32767. If the variable value is decremented, what exception will occur?

No exception

A variable of type unsigned char stores a value of 255. If the variable value is incremented, what exception will occur?

Overflow


Kaugnay na mga set ng pag-aaral

Health Related Fitness Assessment

View Set

9th grade World history - Chapter 1 Section 2

View Set

Mental Health Unit 1 Chapter 4 PrepU

View Set

Management Chapter 8- Learning & Decision Making

View Set