Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is better c89 or c99 [closed]

Tags:

c

gcc 4.4.1

I am just wondering which standard is better and more portable?

I was doing some research on this. And found that c89 is still widely used more than c99. Not many C developers are switching to the newer c99 standard.

And also, is c89 more portable than c99?

As c99 has been around for me than 10 years. I would have thought it would be used more than the c89 standard and be just as portable?

Many thanks for any suggestions,

like image 277
ant2009 Avatar asked Dec 07 '22 04:12

ant2009


1 Answers

Unfortunately C89 is more portable. Microsoft are not planning to add c99 support to VS2010 (Although they do support some features). GCC is far better, but still not 100% compliant with the standard

Wikipedia has more information on other implementations.

like image 134
Yacoby Avatar answered Dec 25 '22 16:12

Yacoby