(3 pts) Assume a variable named testvar is created as a shor…
(3 pts) Assume a variable named testvar is created as a short data type and initialized to 32767. Answer the following two questions: What happens to the variable when it is incremented by a value of 1 (what value is now assigned to the variable)? What is this anomaly called?
Read Details(3 pts) Given the following block of code (and assuming it i…
(3 pts) Given the following block of code (and assuming it is part of a bigger program that otherwise compiles), what will be the value in the answer variable after the code executes? int answer; double val1 = 5.0;int val2 = 2; answer = val1/val2;
Read Details