how to write long int data type in c
Writing the long int Data Type in C
To declare a long int data type in C, you can use the following syntax:
long int variable_name;
- The
long int
keyword is used to declare a variable of type long int. It is used to store integer values that may be larger than the range of values provided by theint
data type. - The
variable_name
is the name of the variable being declared, which can be used to store and manipulate long integer values.
[[SOURCE 5]]