0

Which version of ANSI C standard does Turbo C 3.0 follow wholly or partly?

C89 or C90 ?

user366312
  • 16,949
  • 65
  • 235
  • 452
  • It doesn't follow any version of the ANSI C standard, it follows some version of the C++ standard. C ≠ C++. – Adam Rosenfield Jul 02 '10 at 14:53
  • If you meant Turbo C, then it supports C89 as far as I remember.....but most importantly why are you so concerned about that outdated stuff? – Prasoon Saurav Jul 02 '10 at 14:55
  • @Prasoon Saurav: I've got a ton of code around here that's in C89/C90, and some compiler people were awfully slow to implement C99. A C90 compiler is still very useful. – David Thornley Jul 08 '10 at 14:17

2 Answers2

2

Turbo C++ 3.0 was released in 1991, which means that in its C compilation it probably supports K&R C and C89 (C90 was essentially identical). It won't support C95 well, because that version of the standard wasn't available.

David Thornley
  • 56,304
  • 9
  • 91
  • 158
  • C95 is new to me, but perhaps you meant C99? – Pascal Cuoq Jul 03 '10 at 13:32
  • 2
    With C95 he probably refers to ISO/IEC 9899:1990 as corrected by ISO/IEC 9899/COR1:1994 and ammended by ISO/IEC 9899/AMD1:1995 and corrected again by ISO/IEC 9899/COR2:1996. Important stuff in AMD1 is wide char functions. – ninjalj Jul 04 '10 at 19:37
2

C89 and C90 are essentially the same. C89 refers to ANSI X3.159-1989 "Programming Language C.", while C90 is the ISO version of that (ISO/IEC 9899:1990), with ammendments.

ninjalj
  • 42,493
  • 9
  • 106
  • 148