answersLogoWhite

0


Best Answer

By the range of values you wish to represent.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you decide which integer type to use in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why you use 'integer' before function in C language?

To specify the return-type of the function.


When you can use percent D in c language?

To define any integer type value.


What is integer in visual basic?

In the computer programming language Visual Basic, the data type integer is a whole number which can be used in calclations. It can be positive, negative, or zero. The default type of integer is 32-bit, but with "short" and "long" you can have 16- or 64- bit answers. The short data type works well with small numbers and saves RAM space. If overflow is a problem, long works better because of its larger capacity. To take the integer portion of a decimal, single, or double, use the int() function. int(3.925604) returns 3 as a decimal To convert a data type to integer, use cint() cint(int(3.925604)) returns 3 as an integer


What is the use of java language for a computer science engineer?

Java is a programming language. The computer science engineer may decide to use the Java language to do his programming - or somebody else may have done the decision for him, in a company at which he works. Or they might decide to use some other language instead.


Wrie a program to receive an integer and find its octal equivalant?

Use %o


What does int A mean in c language?

It is easy to tell with function printf:int unknown_value;...printf ("unknown value is %d\n", unknown_value);Note: the typical value-range for type integer is -32768..32767 (16 bits), or -2147483648..2147483647 (32 bits).


How would you write a program that read an integer for display each of digit of integer in English?

Use an enum if you are using a c style language. Or a map data structure. Assign each integer an English value and then match it to what the user inputs.


Types of data type?

A data type that can store integer numbers. The details vary depending on the programming language; many language have different integer types to accomodate different sizes. This lets the programmer use a smaller size (and save memory space) when he only needs to store fairly small numbers - and especially when he needs to store LOTS of fairly small numbers, as in an array. Common sizes include 1 byte, 2 bytes, 4 bytes and 8 bytes of storage.


What type of figurative language did Charles w chesnutt use for his books?

What type of figurative language did charles w chesnutt use for his books?


Why you use float pointer instead of integer pointer?

It depends on what type of data you wish to manipulate.


What type of language should you use in the invitation?

Normally, you use formal language. It depends on the type of activity. If you are writing a cousin to join you at a beach house for a week end, use informal language. If you are having a wedding with 200 guests, use formal language. In that case, ask your caterer.


How do you make a 8 byte integer in C?

Use data-type 'long long' or 'int64_t' (from inttypes.h)