My friend recently gave his C++ oral examination and one of the questions asked by the invigilators was regarding incrementing a variable after it has been set to the maximum value in its range
To be specific, in his case the invigilator asked him the output of a variable of type int if initialized to 32765 and
Continue reading Exceeding the range of data types in C++

Comments