answersLogoWhite

0

If it contains a decimal point or an exponential part, then it should be handled as a float (or double).

You can determine an existing variable's type in C using the type() function typeof is a gcc-extension, but not a function>

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you write a program to find number of zeros for the given number in c program?

Assuming the number is represented by a decimal integer, initialise a counter to zero, then repeatedly divide the number by 10 and until the number is zero. After each division, examine the remainder. Each time the remainder is zero, increment the counter. If the number is represented by a decimal float, repeatedly multiply by 10 until the value is an integer, then perform the previous algorithm.


What the condition of check the given number is float or integer in c?

Aman is so smart and so handsome and so intelligent he is so goodlooking li


What number is the product of a given number and an integer?

An integral multiple of the given number.


What is the product of a given whole number and an integer?

It is a whole number which is another name for an integer.


How do you make 0.6666667 an integer?

The given number is a fraction. It cannot be made into an integer.


What is the integer that best expresses the given and number of 19850?

The best integer to express the number 19850 is 19850.


What does the nearest integer mean?

The nearest integer refers to the whole number that is closest to a given number on the number line. When determining the nearest integer, you round the given number to the whole number that is closest to it. For example, if the given number is 3.6, the nearest integer would be 4 because it is closer to 3.6 than 3.


What is the product of any given whole number and its integer?

A multiple of the number.


What is the integer that best expresses the given number 29028?

I suggest that the number which best expresses it is 29028.


Can you get definitely an integer and rational number between any two given numbers?

No. You cannot get an integer between 1.2 and 1.3


any of the products of a given number and another positive integer?

[object Object]


What is the greatest possible error of 512m?

Since the number is given to an integer, the answer is 0.5 metres.