answersLogoWhite

0

int.float,double,

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is different between constant and integer?

A constant is a value that does not change, an integer is a positive whole number.


What is an integer constant in c plus plus?

A constant integer is an integer that is not expected to change value while it is in scope. Declaring any variable constant doesn't guarantee it won't change, but it does make it more difficult for a programmer to change the value by accident. Constant integers must be initialised at the point of instantiation. We can initialise a constant with the value of a literal constant, the value of another constant, or the value of a variable: void f (int v) { const int x {42}; // Integer constant (initialised from literal constant) const int y {x}; // Integer constant (initialised from another constant) const int z {v}; // Integer constant (initialised from a variable) // ... v *= 2; // ok -- v is variable x *= 2; // error: x is constant }


Can you use expressions in switch?

Switch Expression should be an Integer Expression.Syntax:switch(integer expression){case constant 1:do this;default:do this;}The expression following the keyword switch is any C expression that will yield an Integer value.It could be an integer constant like 1,2 or 3,or an expression that evaluates to an integer.


Is it possible that the rate constant is not necessary to be integer number?

Of course.


What are 2 types of constant in c?

String constants:A string constant is a sequence of alphanumeric characters enclosed in double quotation marks whose maximum length is 256 characters. The following are some examples of valid string constants:1) "The result is ="2) "Test program 123"Numeric constants:Numeric constants are positive or negative numbers. There are four types of numeric constants: integer constant, floating point constant, hex constant and octal constant. An integer constant may either be a short integer or a long integer. A floating point constant may either be of single precision or double precision.


How much energy is present in the universe?

The total energy in the universe is not known precisely, but it is believed to be constant and is distributed in various forms such as matter, radiation, and dark energy.


What is the opposite of Constant?

The opposite of "constant" is "variable." While something constant remains unchanged over time, a variable is subject to change and can take on different values or forms. This distinction is important in various fields, such as mathematics and science, where constants provide stability and variables introduce flexibility.


What is integer in programming?

it is a type of numeric constant which doesn't contain any fractional part


What numbers divide into 56?

The numbers that are divisible by 56 are in the form 56k where k is the integer constant.


What advantage are there in defining an array size in term of symbolic constant rather than a fixed integer value?

It may be possible to generalise results to other integer values.


When can you say that an algebraic expression is a polynomial?

A polynomial is a linear combination of non-negative integer powers of a variable. A linear combination means you can multiply the terms by constant numbers before summing them. The terms can consists of only positive integer powers of the variable or a constant.


The real constant in c can be expressed in which of the following forms?

Both fractional and Exponential forms