Questions tagged [ansi-c]

ANSI C is an informal term sometimes used when referring to the C programming language standard published by the American National Standards Institute (ANSI) in 1989 .

"ANSI C" is an informal term used to refer to the 1989 version of the C language. The formal name for this version of the language is ISO/IEC 9899:1990. Informally it is also known as "C89" or "C90".

This is because the American National Standards Institute (ANSI) first published this standard in the year 1989, as a national standard for the USA. It became international ISO standard in the year 1990. So ANSI C, C89 and C90 all refer to the same technical standard.

It is a common misunderstanding that "ANSI C" means standard compliant C. The ANSI standard institute haven't had anything to do with C since 1989. The language is maintained by ISO SC22/WG14. Yet the term "ANSI C" is sometimes used to mean standard compliant, particularly in old books and by old compilers.

Because of this ambivalent meaning, please avoid using this tag. For questions regarding the C89/C90 version of the C language, please use . For questions regarding standard-compliant C, simply use the tag.

Further information about the different C standard versions.

618 questions
-6
votes
2 answers

What is the difference between -> and dot

In a C program, when i define a struct. under which circumstances would i use "->" and under which "." ? for example typedef struct foo foo; struct foo{ double bar; double bar2; } foo barbar; when would I use barbar.bar and when would i use…
Lena Bru
  • 13,521
  • 11
  • 61
  • 126
-7
votes
1 answer

How C programming language doesn't apply OOP concepts?

as far as I know, C is not an object oriented programming language. how can we make the user defined data types and allow some operations to be performed on those data Types.Just like the primitive data types are defined and allow some operations to…
Neerg
  • 1
  • 2
-9
votes
2 answers

Exceeding unsigned boundary

#include int main () { unsigned char a=250,b=20, c; c=a+b; printf ("%d\n",c); return 0; } What can I do for it to show 270? Besides declaring c as int.
1 2 3
41
42