answersLogoWhite

0

What is the data type int?

Updated: 8/11/2023
User Avatar

Wiki User

7y ago

Best Answer

Data-type (short for integer).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

In C, an int is an integer data type, with a length of sizeof(int) bytes.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the data type int?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What defines a data type?

the type of data which we store in a variable.. example: int a=10; /*here a is variable (data) which is of type int and stores a value 10.*/


What is int in 'c' language?

data-type


What is data type and field name?

Data Type defines the type of data that will be stored. Example : int, byte, short etc


How do you make an array of 56?

In Java:int[] myArray;// or: int myArray[]followed by:myArray = new int[16];Instead of int, you can use any other data type, including a class.


What is the abbrevations for int?

"int" is the abbreviation for an integer data type. In Java an int is specifically a 32-bit signed integer.


Where string is primitive data type of string data type?

String is not primitive data. Only char,int,double,and boolean are!


What are the valid type of data that the main can return in c language?

Type 'int'


What is the different type of data type in c classified it?

float,int,char


What is the difference between Variable and Data Type of Variable?

Let's look at an example. int a = 1; Here our variable is 'a' which is of type 'int'


What data or variable type is used for whole numbers?

int


What is the valid range of numbers for int type of data?

The valid range of numbers for int is 32768 to 32767.


In c language size of data type int?

printf ("sizeof (int) is %d bytes", (int)sizeof (int)); Most likely it will be 2 or 4.