One of the built-in datatypes.
no
No.
Converts a character to integer (if it is a numeric character)
void myfun (int *pi){if (i==NULL) printf ("check failed");}
an integer plus and integer will always be an integer. We say integers are closed under addition.
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.
'int' is one of the built-in data-types, it is meant to hold integer values.
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.
2
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
zero?
the size of an integer is determaind by using the function "sizeof(c)",here 'c' is any integer.