This tag is for questions regarding the international standard ISO 9899:1990, also known as "C89", "C90" or "ANSI C", with amendments and technical corrigenda (as opposed to K&R C, C99, C11 or later C standard revisions).
For example, int result; result = 125/100; or result = 43/100; Will result always be the floor of the division? What is the defined …
c math c99 c89 integer-divisionEdit: I've added the source for the example. I came across this example: char source[MAX] = "123456789"; char source1[MAX] = "123456789"; char …
c buffer-overflow strcpy c89 strncpyi wanted to convert double to float in C, but wanted to preserve the decimal point exactly as possible without …
c floating-point double c89I long thought that in C, all variables had to be declared at the beginning of the function. I know …
c declaration c89I’m looking for a free copy version of the C89/C90 standard, but I can’t find it anywhere! …
c ansi c89Piece of code : long rangeVar = 0; rangeVar = atol(p_value); if (rangeVar >= -2147483648 && rangeVar <= 2147483647) On compiling I …
c compiler-construction long-integer iso c89I'm using C and trying to get access to the constant M_PI (3.14159...). I have imported the math.h header …
c math c89