4.5 Overflow and Underflow: Knowledge Check

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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

No Exception

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

No Exception.

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

Underflow

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

Underflow

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

Underflow


संबंधित स्टडी सेट्स

Preventive Dentistry & Nutrition

View Set

chapter 10 (the water-soluble vitamins) understanding nutrition

View Set

Pharmacology unit 2 IV formulas math problems, dosage calc verifying safe dose

View Set

Chapter 6: Values, Ethics, and Advocacy

View Set