answersLogoWhite

0

Integer in c and c plus plus?

User Avatar

Anonymous

14y ago
Updated: 8/18/2019

One of the built-in datatypes.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Can an integer data type in c plus plus stores character value?

no


Can a trinomial x2 plus bx plus c where b and c are integers be factored with integer coefficients if its discriminant is 35?

No.


What is the use of c plus plus function atoi?

Converts a character to integer (if it is a numeric character)


How do you check Address of integer in c plus plus?

void myfun (int *pi){if (i==NULL) printf ("check failed");}


What does an integer plus another integer equal?

an integer plus and integer will always be an integer. We say integers are closed under addition.


What are the three consecutive odd integers with sum of -30?

It cannot be done. The basic rules of math. odd integer plus odd integer = even integer. odd integer plus even integer = odd integer. Always. odd integer plus odd integer plus odd integer = odd integer. Always.


When do we use int in c plus plus programming?

'int' is one of the built-in data-types, it is meant to hold integer values.


In c plus plus you cannot assign integer value to enum?

That is correct - In c plus plus you cannot assign integer value to enum - You can only assign an enum value to an enum. Even though an enum looks like an integer, it is not. It is an enum, and C++ implements strict type checking to reduce the probability of bad programming practices. enum ColorCode {black, brown, red, orange, yellow, green, blue, violet, grey, white}; ColorCode myColorCode; myColorCode = yellow; Even though yellow has an integer value of 4, you cannot say myColorCode = 4.


The reciprocal of an integer plus the reciprocal of two times the integer plus two equals Find the integer?

2


When A B and C are counting numbers and both A and B are multiples of C what can you say about A plus B?

If A and B are multiples of C, then A + B is also a multiple of C: If A is a multiple of C then A = mC for some integer m If B is a multiple of C, then B = nC for some integer n → A + B = mC + nC = (m + n)C = kC where k = m + n and is an integer → A + B is a multiple of C


What is -3 as an integer plus 3 as an integer?

zero?


How do you print size of integer?

the size of an integer is determaind by using the function "sizeof(c)",here 'c' is any integer.