Top "Int" questions

Common datatype in many programming languages for representing a whole number.

Size of int and sizeof int pointer on a 64 bit machine

I was just wondering how can I know if my laptop is 64 or 32 bit machine. (it is a 64). So, I …

c++ c int 64-bit sizeof
Why the range of int is -32768 to 32767?

Why the range of any data type is greater on negative side as compare to positive side? For example, in …

c visual-studio int turbo-c
Using int vs Integer

I came across a class using Integer variables to capture size to be used in a for loop. Is this …

java integer int primitive
'int' object is not callable error in python

I'm getting this error: Traceback (most recent call last): File "C:\Users\George\Desktop\ex3.py", line 15, in <module&…

python int callable
What is the int.MaxValue on a 64-bit PC?

System.Console.WriteLine(int.MaxValue); This line gives me the answer of 2,147,483,647 as I have a 32-bit PC. Will the …

c# .net int int64 int32
"is" operator behaves unexpectedly with integers

Why does the following behave unexpectedly in Python? >>> a = 256 >>> b = 256 >>> a …

python int operators identity python-internals
How to convert an Int to a String of a given length with leading zeros to align?

How can I convert an Int to a 7-character long String, so that 123 is turned into "0000123"?

string scala formatting int
What is the difference between Int and Integer?

In Haskell, what is the difference between an Int and an Integer? Where is the answer documented?

haskell numbers integer int bignum
In Java, is the result of the addition of two chars an int or a char?

When adding 'a' + 'b' it produces 195. Is the output datatype char or int?

java char int primitive addition
Trying to use int in getline

cout << "How many questions are there going to be on this exam?" << endl; cout << "&…

c++ string int getline